[][src]Struct kf_protocol::message::offset::OffsetFetchResponsePartition

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

impl Debug for OffsetFetchResponsePartition[src]

impl Decoder for OffsetFetchResponsePartition[src]

impl Default for OffsetFetchResponsePartition[src]

impl<'de> Deserialize<'de> for OffsetFetchResponsePartition[src]

impl Encoder for OffsetFetchResponsePartition[src]

impl Serialize for OffsetFetchResponsePartition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.