#[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: boolTrait 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 duplicate 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 Freeze for mosquitto_message
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