Struct rdkafka_sys::bindings::rd_kafka_metadata_partition
source · #[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)