pub struct MetadataResponsePartition {
pub error_code: i16,
pub partition_index: i32,
pub leader_id: i32,
pub leader_epoch: i32,
pub replica_nodes: Vec<i32>,
pub isr_nodes: Vec<i32>,
pub offline_replicas: Vec<i32>,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§error_code: i16
The partition error, or 0 if there was no error.
partition_index: i32
The partition index.
leader_id: i32
The ID of the leader broker.
leader_epoch: i32
The leader epoch of this partition.
replica_nodes: Vec<i32>
The set of all nodes that host this partition.
isr_nodes: Vec<i32>
The set of nodes that are in sync with the leader for this partition.
offline_replicas: Vec<i32>
The set of offline replicas of this partition.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
source§impl Debug for MetadataResponsePartition
impl Debug for MetadataResponsePartition
source§impl Default for MetadataResponsePartition
impl Default for MetadataResponsePartition
source§fn default() -> MetadataResponsePartition
fn default() -> MetadataResponsePartition
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MetadataResponsePartition
impl Send for MetadataResponsePartition
impl Sync for MetadataResponsePartition
impl Unpin for MetadataResponsePartition
impl UnwindSafe for MetadataResponsePartition
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