pub struct TxnOffsetCommitRequestPartition {
pub partition_index: i32,
pub committed_offset: i64,
pub committed_metadata: Option<String>,
}Expand description
TxnOffsetCommitRequestPartition, version 0.
Fields§
§partition_index: i32The index of the partition within the topic.
committed_offset: i64The message offset to be committed.
committed_metadata: Option<String>Any associated metadata the client wants to keep.
Implementations§
Trait Implementations§
Source§impl Clone for TxnOffsetCommitRequestPartition
impl Clone for TxnOffsetCommitRequestPartition
Source§fn clone(&self) -> TxnOffsetCommitRequestPartition
fn clone(&self) -> TxnOffsetCommitRequestPartition
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<'de> Deserialize<'de> for TxnOffsetCommitRequestPartition
impl<'de> Deserialize<'de> for TxnOffsetCommitRequestPartition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TxnOffsetCommitRequestPartition
impl PartialEq for TxnOffsetCommitRequestPartition
Source§fn eq(&self, other: &TxnOffsetCommitRequestPartition) -> bool
fn eq(&self, other: &TxnOffsetCommitRequestPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TxnOffsetCommitRequestPartition
Auto Trait Implementations§
impl Freeze for TxnOffsetCommitRequestPartition
impl RefUnwindSafe for TxnOffsetCommitRequestPartition
impl Send for TxnOffsetCommitRequestPartition
impl Sync for TxnOffsetCommitRequestPartition
impl Unpin for TxnOffsetCommitRequestPartition
impl UnwindSafe for TxnOffsetCommitRequestPartition
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