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 Clone for MetadataResponsePartition
impl Clone for MetadataResponsePartition
Source§fn clone(&self) -> MetadataResponsePartition
fn clone(&self) -> MetadataResponsePartition
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 Freeze for MetadataResponsePartition
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