pub struct LeaderAndIsrRequestPartitionState {
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§
§partition_index: i32The partition index.
controller_epoch: i32The controller epoch.
leader_key: i32The broker ID of the leader.
leader_epoch: i32The leader epoch.
isr_replicas: Vec<i32>The in-sync replica IDs.
zk_version: i32The ZooKeeper version.
replicas: Vec<i32>The replica IDs.
is_new: boolWhether the replica should have existed on the broker or not.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LeaderAndIsrRequestPartitionState
impl<'de> Deserialize<'de> for LeaderAndIsrRequestPartitionState
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
Auto Trait Implementations§
impl Freeze for LeaderAndIsrRequestPartitionState
impl RefUnwindSafe for LeaderAndIsrRequestPartitionState
impl Send for LeaderAndIsrRequestPartitionState
impl Sync for LeaderAndIsrRequestPartitionState
impl Unpin for LeaderAndIsrRequestPartitionState
impl UnwindSafe for LeaderAndIsrRequestPartitionState
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