pub struct TopicPartitionOffset {
pub topic: String,
pub partition: i32,
pub offset: i64,
}Expand description
A topic/partition/offset tuple for commits and seeks.
Fields§
§topic: StringTopic name.
partition: i32Partition number.
offset: i64Offset to commit or seek.
Implementations§
Trait Implementations§
Source§impl Clone for TopicPartitionOffset
impl Clone for TopicPartitionOffset
Source§fn clone(&self) -> TopicPartitionOffset
fn clone(&self) -> TopicPartitionOffset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopicPartitionOffset
impl Debug for TopicPartitionOffset
Source§impl PartialEq for TopicPartitionOffset
impl PartialEq for TopicPartitionOffset
impl Eq for TopicPartitionOffset
impl StructuralPartialEq for TopicPartitionOffset
Auto Trait Implementations§
impl Freeze for TopicPartitionOffset
impl RefUnwindSafe for TopicPartitionOffset
impl Send for TopicPartitionOffset
impl Sync for TopicPartitionOffset
impl Unpin for TopicPartitionOffset
impl UnsafeUnpin for TopicPartitionOffset
impl UnwindSafe for TopicPartitionOffset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).