[][src]Struct kf_protocol::message::isr::LeaderAndIsrRequestPartitionStateV0

pub struct LeaderAndIsrRequestPartitionStateV0 {
    pub topic_name: String,
    pub partition_index: i32,
    pub controller_epoch: i32,
    pub leader_key: i32,
    pub leader_epoch: i32,
    pub isr_replicas: Vec<i32>,
    pub zk_version: i32,
    pub replicas: Vec<i32>,
    pub is_new: bool,
}

Fields

topic_name: String

The topic name.

partition_index: i32

The partition index.

controller_epoch: i32

The controller epoch.

leader_key: i32

The broker ID of the leader.

leader_epoch: i32

The leader epoch.

isr_replicas: Vec<i32>

The in-sync replica IDs.

zk_version: i32

The ZooKeeper version.

replicas: Vec<i32>

The replica IDs.

is_new: bool

Whether the replica should have existed on the broker or not.

Trait Implementations

impl Debug for LeaderAndIsrRequestPartitionStateV0[src]

impl Decoder for LeaderAndIsrRequestPartitionStateV0[src]

impl Default for LeaderAndIsrRequestPartitionStateV0[src]

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

impl Encoder for LeaderAndIsrRequestPartitionStateV0[src]

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