Struct libmosquitto_sys::mosquitto_message
source · #[repr(C)]pub struct mosquitto_message {
pub mid: c_int,
pub topic: *mut c_char,
pub payload: *mut c_void,
pub payloadlen: c_int,
pub qos: c_int,
pub retain: bool,
}
Fields§
§mid: c_int
§topic: *mut c_char
§payload: *mut c_void
§payloadlen: c_int
§qos: c_int
§retain: bool
Trait Implementations§
source§impl Clone for mosquitto_message
impl Clone for mosquitto_message
source§fn clone(&self) -> mosquitto_message
fn clone(&self) -> mosquitto_message
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 mosquitto_message
impl Debug for mosquitto_message
impl Copy for mosquitto_message
Auto Trait Implementations§
impl RefUnwindSafe for mosquitto_message
impl !Send for mosquitto_message
impl !Sync for mosquitto_message
impl Unpin for mosquitto_message
impl UnwindSafe for mosquitto_message
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