pub struct OffsetCommitRequestPartition {
pub partition_index: i32,
pub committed_offset: i64,
pub committed_leader_epoch: i32,
pub committed_metadata: Option<String>,
}Expand description
OffsetCommitRequestPartition, version 7.
Fields§
§partition_index: i32The partition index.
committed_offset: i64The message offset to be committed.
committed_leader_epoch: i32The leader epoch of this partition.
committed_metadata: Option<String>Any associated metadata the client wants to keep.
Implementations§
Trait Implementations§
Source§impl Clone for OffsetCommitRequestPartition
impl Clone for OffsetCommitRequestPartition
Source§fn clone(&self) -> OffsetCommitRequestPartition
fn clone(&self) -> OffsetCommitRequestPartition
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 OffsetCommitRequestPartition
impl Debug for OffsetCommitRequestPartition
Source§impl<'de> Deserialize<'de> for OffsetCommitRequestPartition
impl<'de> Deserialize<'de> for OffsetCommitRequestPartition
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 OffsetCommitRequestPartition
impl PartialEq for OffsetCommitRequestPartition
Source§fn eq(&self, other: &OffsetCommitRequestPartition) -> bool
fn eq(&self, other: &OffsetCommitRequestPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OffsetCommitRequestPartition
Auto Trait Implementations§
impl Freeze for OffsetCommitRequestPartition
impl RefUnwindSafe for OffsetCommitRequestPartition
impl Send for OffsetCommitRequestPartition
impl Sync for OffsetCommitRequestPartition
impl Unpin for OffsetCommitRequestPartition
impl UnwindSafe for OffsetCommitRequestPartition
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