[][src]Struct paho_mqtt_sys::MQTTAsync_connectData

#[repr(C)]pub struct MQTTAsync_connectData {
    pub struct_id: [c_char; 4],
    pub struct_version: c_int,
    pub username: *const c_char,
    pub binarypwd: MQTTAsync_connectData__bindgen_ty_1,
}

The connect options that can be updated before an automatic reconnect.

Fields

struct_id: [c_char; 4]

The eyecatcher for this structure. Will be MQCD.

struct_version: c_int

The version number of this structure. Will be 0

username: *const c_char

MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. This is the user name parameter. Set data to NULL to remove. To change, allocate new storage with ::MQTTAsync_allocate - this will then be free later by the library.

binarypwd: MQTTAsync_connectData__bindgen_ty_1

Trait Implementations

impl Clone for MQTTAsync_connectData[src]

impl Copy for MQTTAsync_connectData[src]

impl Debug for MQTTAsync_connectData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.