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