pub struct CommitOffset {
pub topic: String,
pub partition: i32,
pub offset: i64,
}Expand description
Commit Offset.
Fields§
§topic: StringTopic name.
partition: i32Partition number.
offset: i64Kafka offset.
Trait Implementations§
Source§impl Clone for CommitOffset
impl Clone for CommitOffset
Source§fn clone(&self) -> CommitOffset
fn clone(&self) -> CommitOffset
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 CommitOffset
impl Debug for CommitOffset
Source§impl From<TopicPartitionOffset> for CommitOffset
impl From<TopicPartitionOffset> for CommitOffset
Source§fn from(value: TopicPartitionOffset) -> Self
fn from(value: TopicPartitionOffset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommitOffset
impl RefUnwindSafe for CommitOffset
impl Send for CommitOffset
impl Sync for CommitOffset
impl Unpin for CommitOffset
impl UnsafeUnpin for CommitOffset
impl UnwindSafe for CommitOffset
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