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: UnknownTaggedFieldsImplementations§
Source§impl MetadataResponsePartition
impl MetadataResponsePartition
pub fn to_owned(&self) -> MetadataResponsePartition
Trait Implementations§
Source§impl Clone for MetadataResponsePartition
impl Clone for MetadataResponsePartition
Source§impl Debug for MetadataResponsePartition
impl Debug for MetadataResponsePartition
Source§impl<'de> DecodeBorrow<'de> for MetadataResponsePartition
impl<'de> DecodeBorrow<'de> for MetadataResponsePartition
Source§fn decode_borrow(
buf: &mut &'de [u8],
version: i16,
) -> Result<Self, ProtocolError>
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Errors Read more
Source§impl Default for MetadataResponsePartition
impl Default for MetadataResponsePartition
Source§impl Encode for MetadataResponsePartition
impl Encode for MetadataResponsePartition
impl Eq for MetadataResponsePartition
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