Struct sage_mqtt::UnSubAck [−][src]
pub struct UnSubAck {
pub packet_identifier: u16,
pub reason_string: Option<String>,
pub user_properties: Vec<(String, String)>,
pub reason_codes: Vec<ReasonCode>,
}
Expand description
An UnSubAck
is sent by the server to acknowledge an unsubscribe request.
Fields
packet_identifier: u16
The packet identifier is used to identify the message throughout the communication
reason_string: Option<String>
An optional description of the acknowledgement.
user_properties: Vec<(String, String)>
General purpose user-defined properties
reason_codes: Vec<ReasonCode>
A list of reason codes ackowledging the unsubscribtion.
Each ReasonCode
at a given index correspond to a unsubscribe request
from the Unsubscribe
packet at the same index.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnSubAck
impl UnwindSafe for UnSubAck
Blanket Implementations
Mutably borrows from an owned value. Read more