Struct paho_mqtt3as_sys::MQTTAsync_createOptions
[−]
[src]
#[repr(C)]pub struct MQTTAsync_createOptions { pub struct_id: [c_char; 4], pub struct_version: c_int, pub sendWhileDisconnected: c_int, pub maxBufferedMessages: c_int, }
Fields
struct_id: [c_char; 4]
The eyecatcher for this structure. must be MQCO.
struct_version: c_int
The version number of this structure. Must be 0
sendWhileDisconnected: c_int
Whether to allow messages to be sent when the client library is not connected.
maxBufferedMessages: c_int
the maximum number of messages allowed to be buffered while not connected.
Trait Implementations
impl Debug for MQTTAsync_createOptions
[src]
impl Copy for MQTTAsync_createOptions
[src]
impl Clone for MQTTAsync_createOptions
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for MQTTAsync_createOptions
[src]
fn default() -> MQTTAsync_createOptions
Returns the "default value" for a type. Read more