#[repr(C)]pub struct rd_kafka_message_s {
pub err: rd_kafka_resp_err_t,
pub rkt: *mut rd_kafka_topic_t,
pub partition: i32,
pub payload: *mut c_void,
pub len: usize,
pub key: *mut c_void,
pub key_len: usize,
pub offset: i64,
pub _private: *mut c_void,
}
Fields§
§err: rd_kafka_resp_err_t
§rkt: *mut rd_kafka_topic_t
§partition: i32
§payload: *mut c_void
§len: usize
§key: *mut c_void
§key_len: usize
§offset: i64
§_private: *mut c_void
Trait Implementations§
Source§impl Clone for rd_kafka_message_s
impl Clone for rd_kafka_message_s
Source§fn clone(&self) -> rd_kafka_message_s
fn clone(&self) -> rd_kafka_message_s
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_message_s
impl Debug for rd_kafka_message_s
impl Copy for rd_kafka_message_s
Auto Trait Implementations§
impl Freeze for rd_kafka_message_s
impl RefUnwindSafe for rd_kafka_message_s
impl !Send for rd_kafka_message_s
impl !Sync for rd_kafka_message_s
impl Unpin for rd_kafka_message_s
impl UnwindSafe for rd_kafka_message_s
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