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
qos: QoS
the QoS level to be used when publishing the Will Message.
retain: bool
the Will Message is to be Retained when it is published.
topic: &'a str
the Will Topic
message: &'a [u8]
defines the Application Message that is to be published to the Will Topic
Trait Implementations
impl<'a> Debug for LastWill<'a>
[src]
impl<'a> PartialEq for LastWill<'a>
[src]
fn eq(&self, __arg_0: &LastWill<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LastWill<'a>) -> bool
[src]
This method tests for !=
.