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: UnknownTaggedFields,
}Fields§
§error_code: i16§partition_index: i32§leader_id: i32§leader_epoch: i32§replica_nodes: Vec<i32>§isr_nodes: Vec<i32>§offline_replicas: Vec<i32>§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for MetadataResponsePartition
impl Clone for MetadataResponsePartition
Source§fn clone(&self) -> MetadataResponsePartition
fn clone(&self) -> MetadataResponsePartition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Decode<'_> for MetadataResponsePartition
impl Decode<'_> for MetadataResponsePartition
Source§impl Default for MetadataResponsePartition
impl Default for MetadataResponsePartition
Source§impl Encode for MetadataResponsePartition
impl Encode for MetadataResponsePartition
impl Eq for MetadataResponsePartition
Source§impl PartialEq for MetadataResponsePartition
impl PartialEq for MetadataResponsePartition
Source§fn eq(&self, other: &MetadataResponsePartition) -> bool
fn eq(&self, other: &MetadataResponsePartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetadataResponsePartition
Auto Trait Implementations§
impl Freeze for MetadataResponsePartition
impl RefUnwindSafe for MetadataResponsePartition
impl Send for MetadataResponsePartition
impl Sync for MetadataResponsePartition
impl Unpin for MetadataResponsePartition
impl UnsafeUnpin 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