Struct mqtt::LastWill [] [src]

pub struct LastWill<'a> {
    pub qos: QoS,
    pub retain: bool,
    pub topic: &'a str,
    pub message: &'a [u8],
}

Connection Will

Fields

the QoS level to be used when publishing the Will Message.

the Will Message is to be Retained when it is published.

the Will Topic

defines the Application Message that is to be published to the Will Topic

Trait Implementations

impl<'a> Debug for LastWill<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for LastWill<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Clone for LastWill<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more