pub struct OffsetFetchResponsePartition {
pub partition_index: i32,
pub committed_offset: i64,
pub committed_leader_epoch: i32,
pub metadata: Option<String>,
pub error_code: ErrorCode,
}
Fields§
§partition_index: i32
The partition index.
committed_offset: i64
The committed message offset.
committed_leader_epoch: i32
The leader epoch.
metadata: Option<String>
The partition metadata.
error_code: ErrorCode
The error code, or 0 if there was no error.
Trait Implementations§
Source§impl Debug for OffsetFetchResponsePartition
impl Debug for OffsetFetchResponsePartition
Source§impl<'de> Deserialize<'de> for OffsetFetchResponsePartition
impl<'de> Deserialize<'de> for OffsetFetchResponsePartition
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
Auto Trait Implementations§
impl Freeze for OffsetFetchResponsePartition
impl RefUnwindSafe for OffsetFetchResponsePartition
impl Send for OffsetFetchResponsePartition
impl Sync for OffsetFetchResponsePartition
impl Unpin for OffsetFetchResponsePartition
impl UnwindSafe for OffsetFetchResponsePartition
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