Union paho_mqtt3as_sys::MQTTAsync_successData__bindgen_ty_1 [] [src]

#[repr(C)]
pub union MQTTAsync_successData__bindgen_ty_1 { pub qos: c_int, pub qosList: *mut c_int, pub pub_: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_1, pub connect: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_2, // some fields omitted }

A union of the different values that can be returned for subscribe, unsubscribe and publish.

Fields

qos: c_int

For subscribe, the granted QoS of the subscription returned by the server.

qosList: *mut c_int

For subscribeMany, the list of granted QoSs of the subscriptions returned by the server.

pub_: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_1 connect: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_2

Trait Implementations

impl Copy for MQTTAsync_successData__bindgen_ty_1
[src]

impl Clone for MQTTAsync_successData__bindgen_ty_1
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more