[][src]Struct kf_protocol::message::metadata::MetadataResponsePartition

pub struct MetadataResponsePartition {
    pub error_code: ErrorCode,
    pub partition_index: i32,
    pub leader_id: i32,
    pub leader_epoch: i32,
    pub replica_nodes: Vec<i32>,
    pub isr_nodes: Vec<i32>,
    pub offline_replicas: Vec<i32>,
}

Fields

error_code: ErrorCode

The partition error, or 0 if there was no error.

partition_index: i32

The partition index.

leader_id: i32

The ID of the leader broker.

leader_epoch: i32

The leader epoch of this partition.

replica_nodes: Vec<i32>

The set of all nodes that host this partition.

isr_nodes: Vec<i32>

The set of nodes that are in sync with the leader for this partition.

offline_replicas: Vec<i32>

The set of offline replicas of this partition.

Trait Implementations

impl Debug for MetadataResponsePartition[src]

impl Decoder for MetadataResponsePartition[src]

impl Default for MetadataResponsePartition[src]

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

impl Encoder for MetadataResponsePartition[src]

impl Serialize for MetadataResponsePartition[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.