pub struct CommitOffset<'a> {
pub offset: i64,
pub topic: &'a str,
pub partition: i32,
}
Expand description
Data point identifying a particular topic partition offset to be
committed.
See KafkaClient::commit_offsets
.
Fields§
§offset: i64
The offset to be committed
topic: &'a str
The topic to commit the offset for
partition: i32
The partition to commit the offset for
Implementations§
Trait Implementations§
source§impl<'a> AsRef<CommitOffset<'a>> for CommitOffset<'a>
impl<'a> AsRef<CommitOffset<'a>> for CommitOffset<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommitOffset<'a>
impl<'a> RefUnwindSafe for CommitOffset<'a>
impl<'a> Send for CommitOffset<'a>
impl<'a> Sync for CommitOffset<'a>
impl<'a> Unpin for CommitOffset<'a>
impl<'a> UnwindSafe for CommitOffset<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more