Struct rdkafka_sys::bindings::rd_kafka_metadata_topic
source · #[repr(C)]pub struct rd_kafka_metadata_topic {
pub topic: *mut c_char,
pub partition_cnt: c_int,
pub partitions: *mut rd_kafka_metadata_partition,
pub err: rd_kafka_resp_err_t,
}
Fields§
§topic: *mut c_char
§partition_cnt: c_int
§partitions: *mut rd_kafka_metadata_partition
§err: rd_kafka_resp_err_t
Trait Implementations§
source§impl Clone for rd_kafka_metadata_topic
impl Clone for rd_kafka_metadata_topic
source§fn clone(&self) -> rd_kafka_metadata_topic
fn clone(&self) -> rd_kafka_metadata_topic
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_topic
impl Debug for rd_kafka_metadata_topic
impl Copy for rd_kafka_metadata_topic
Auto Trait Implementations§
impl RefUnwindSafe for rd_kafka_metadata_topic
impl !Send for rd_kafka_metadata_topic
impl !Sync for rd_kafka_metadata_topic
impl Unpin for rd_kafka_metadata_topic
impl UnwindSafe for rd_kafka_metadata_topic
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