pub struct UpdateMetadataPartitionState {
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§
§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§
Source§impl Debug for UpdateMetadataPartitionState
impl Debug for UpdateMetadataPartitionState
Source§impl<'de> Deserialize<'de> for UpdateMetadataPartitionState
impl<'de> Deserialize<'de> for UpdateMetadataPartitionState
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 UpdateMetadataPartitionState
impl RefUnwindSafe for UpdateMetadataPartitionState
impl Send for UpdateMetadataPartitionState
impl Sync for UpdateMetadataPartitionState
impl Unpin for UpdateMetadataPartitionState
impl UnwindSafe for UpdateMetadataPartitionState
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