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

pub struct UpdateMetadataRequestPartitionStateV0 {
    pub topic_name: String,
    pub partition_index: i32,
    pub controller_epoch: i32,
    pub leader: i32,
    pub leader_epoch: i32,
    pub isr: Vec<i32>,
    pub zk_version: i32,
    pub replicas: Vec<i32>,
    pub offline_replicas: Vec<i32>,
}

Fields

topic_name: String

The topic name.

partition_index: i32

The partition index.

controller_epoch: i32

The controller epoch.

leader: i32

The ID of the broker which is the current partition leader.

leader_epoch: i32

The leader epoch of this partition.

isr: Vec<i32>

The brokers which are in the ISR for this partition.

zk_version: i32

The Zookeeper version.

replicas: Vec<i32>

All the replicas of this partition.

offline_replicas: Vec<i32>

The replicas of this partition which are offline.

Trait Implementations

impl Debug for UpdateMetadataRequestPartitionStateV0[src]

impl Decoder for UpdateMetadataRequestPartitionStateV0[src]

impl Default for UpdateMetadataRequestPartitionStateV0[src]

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

impl Encoder for UpdateMetadataRequestPartitionStateV0[src]

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