pub struct OffsetFetchResponsePartition {
pub partition_index: i32,
pub committed_offset: i64,
pub committed_leader_epoch: i32,
pub metadata: Option<String>,
pub error_code: i16,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
OffsetFetchResponsePartition, version 6.
Fields§
§partition_index: i32The partition index.
committed_offset: i64The committed message offset.
committed_leader_epoch: i32The leader epoch.
metadata: Option<String>The partition metadata.
error_code: i16The error code, or 0 if there was no error.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl Clone for OffsetFetchResponsePartition
impl Clone for OffsetFetchResponsePartition
Source§fn clone(&self) -> OffsetFetchResponsePartition
fn clone(&self) -> OffsetFetchResponsePartition
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 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
Source§impl PartialEq for OffsetFetchResponsePartition
impl PartialEq for OffsetFetchResponsePartition
Source§fn eq(&self, other: &OffsetFetchResponsePartition) -> bool
fn eq(&self, other: &OffsetFetchResponsePartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OffsetFetchResponsePartition
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