pub struct DescribeTopicPartitionsPartitionResponseV0 {
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 eligible_leader_replicas: Option<Vec<i32>>,
pub last_known_elr: Option<Vec<i32>>,
pub offline_replicas: Vec<i32>,
}Expand description
One partition returned by DescribeTopicPartitions v0.
Fields§
§error_code: i16§partition_index: i32§leader_id: i32§leader_epoch: i32§replica_nodes: Vec<i32>§isr_nodes: Vec<i32>§eligible_leader_replicas: Option<Vec<i32>>§last_known_elr: Option<Vec<i32>>§offline_replicas: Vec<i32>Trait Implementations§
Source§impl Clone for DescribeTopicPartitionsPartitionResponseV0
impl Clone for DescribeTopicPartitionsPartitionResponseV0
Source§fn clone(&self) -> DescribeTopicPartitionsPartitionResponseV0
fn clone(&self) -> DescribeTopicPartitionsPartitionResponseV0
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 moreimpl Eq for DescribeTopicPartitionsPartitionResponseV0
impl StructuralPartialEq for DescribeTopicPartitionsPartitionResponseV0
Auto Trait Implementations§
impl Freeze for DescribeTopicPartitionsPartitionResponseV0
impl RefUnwindSafe for DescribeTopicPartitionsPartitionResponseV0
impl Send for DescribeTopicPartitionsPartitionResponseV0
impl Sync for DescribeTopicPartitionsPartitionResponseV0
impl Unpin for DescribeTopicPartitionsPartitionResponseV0
impl UnsafeUnpin for DescribeTopicPartitionsPartitionResponseV0
impl UnwindSafe for DescribeTopicPartitionsPartitionResponseV0
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