Struct kafka::client::CommitOffset
[−]
[src]
pub struct CommitOffset<'a> { pub offset: i64, pub topic: &'a str, pub partition: i32, }
Data point identifying a particular topic partition offset to be
commited.
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
Methods
impl<'a> CommitOffset<'a>
[src]
Trait Implementations
impl<'a> Debug for CommitOffset<'a>
[src]
impl<'a> AsRef<CommitOffset<'a>> for CommitOffset<'a>
[src]
fn as_ref(&self) -> &Self
Performs the conversion.