#[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