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§
Source§impl<'de> Deserialize<'de> for LeaderAndIsrRequestPartitionStateV0
impl<'de> Deserialize<'de> for LeaderAndIsrRequestPartitionStateV0
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 LeaderAndIsrRequestPartitionStateV0
impl RefUnwindSafe for LeaderAndIsrRequestPartitionStateV0
impl Send for LeaderAndIsrRequestPartitionStateV0
impl Sync for LeaderAndIsrRequestPartitionStateV0
impl Unpin for LeaderAndIsrRequestPartitionStateV0
impl UnwindSafe for LeaderAndIsrRequestPartitionStateV0
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