Struct paho_mqtt::will_options::WillOptions [] [src]

pub struct WillOptions {
    pub opts: MQTTAsync_willOptions,
    // some fields omitted
}

The options for the Last Will and Testament (LWT)

Fields

Methods

impl WillOptions
[src]

Gets the payload of the LWT

Gets the payload of the message as a string. Note that this clones the payload.

Returns the Quality of Service (QOS) for the message.

Gets the 'retained' flag for the message.

Trait Implementations

impl Debug for WillOptions
[src]

Formats the value using the given formatter.

impl Clone for WillOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more