#[repr(C)]pub struct rd_kafka_metadata_partition {
pub id: i32,
pub err: rd_kafka_resp_err_t,
pub leader: i32,
pub replica_cnt: c_int,
pub replicas: *mut i32,
pub isr_cnt: c_int,
pub isrs: *mut i32,
}
Fields§
§id: i32
§err: rd_kafka_resp_err_t
§leader: i32
§replica_cnt: c_int
§replicas: *mut i32
§isr_cnt: c_int
§isrs: *mut i32
Trait Implementations§
Source§impl Clone for rd_kafka_metadata_partition
impl Clone for rd_kafka_metadata_partition
Source§fn clone(&self) -> rd_kafka_metadata_partition
fn clone(&self) -> rd_kafka_metadata_partition
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 rd_kafka_metadata_partition
impl Debug for rd_kafka_metadata_partition
impl Copy for rd_kafka_metadata_partition
Auto Trait Implementations§
impl Freeze for rd_kafka_metadata_partition
impl RefUnwindSafe for rd_kafka_metadata_partition
impl !Send for rd_kafka_metadata_partition
impl !Sync for rd_kafka_metadata_partition
impl Unpin for rd_kafka_metadata_partition
impl UnwindSafe for rd_kafka_metadata_partition
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