Struct paho_mqtt_sys::MQTTAsync_message
source · #[repr(C)]pub struct MQTTAsync_message {
pub struct_id: [c_char; 4],
pub struct_version: c_int,
pub payloadlen: c_int,
pub payload: *mut c_void,
pub qos: c_int,
pub retained: c_int,
pub dup: c_int,
pub msgid: c_int,
pub properties: MQTTProperties,
}
Fields§
§struct_id: [c_char; 4]
§struct_version: c_int
§payloadlen: c_int
§payload: *mut c_void
§qos: c_int
§retained: c_int
§dup: c_int
§msgid: c_int
§properties: MQTTProperties
Trait Implementations§
source§impl Clone for MQTTAsync_message
impl Clone for MQTTAsync_message
source§fn clone(&self) -> MQTTAsync_message
fn clone(&self) -> MQTTAsync_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 MQTTAsync_message
impl Debug for MQTTAsync_message
source§impl Default for MQTTAsync_message
impl Default for MQTTAsync_message
source§fn default() -> MQTTAsync_message
fn default() -> MQTTAsync_message
Returns the “default value” for a type. Read more
impl Copy for MQTTAsync_message
Auto Trait Implementations§
impl RefUnwindSafe for MQTTAsync_message
impl !Send for MQTTAsync_message
impl !Sync for MQTTAsync_message
impl Unpin for MQTTAsync_message
impl UnwindSafe for MQTTAsync_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