Struct rdkafka_sys::bindings::rd_kafka_metadata
source · #[repr(C)]pub struct rd_kafka_metadata {
pub broker_cnt: c_int,
pub brokers: *mut rd_kafka_metadata_broker,
pub topic_cnt: c_int,
pub topics: *mut rd_kafka_metadata_topic,
pub orig_broker_id: i32,
pub orig_broker_name: *mut c_char,
}
Fields§
§broker_cnt: c_int
§brokers: *mut rd_kafka_metadata_broker
§topic_cnt: c_int
§topics: *mut rd_kafka_metadata_topic
§orig_broker_id: i32
§orig_broker_name: *mut c_char
Trait Implementations§
source§impl Clone for rd_kafka_metadata
impl Clone for rd_kafka_metadata
source§fn clone(&self) -> rd_kafka_metadata
fn clone(&self) -> rd_kafka_metadata
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
impl Debug for rd_kafka_metadata
impl Copy for rd_kafka_metadata
Auto Trait Implementations§
impl Freeze for rd_kafka_metadata
impl RefUnwindSafe for rd_kafka_metadata
impl !Send for rd_kafka_metadata
impl !Sync for rd_kafka_metadata
impl Unpin for rd_kafka_metadata
impl UnwindSafe for rd_kafka_metadata
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
)