Struct sage_mqtt::SubAck [−][src]
pub struct SubAck {
pub packet_identifier: u16,
pub user_properties: Vec<(String, String)>,
pub reason_codes: Vec<ReasonCode>,
}
Expand description
The SubAck
packet is sent by a server to confirm a Subscribe
has been
received and processed.
Fields
packet_identifier: u16
The packet identifier is used to identify the message throughout the communication.
user_properties: Vec<(String, String)>
User defined properties
reason_codes: Vec<ReasonCode>
The reason codes. The array contains one ReasonCode
per subscription.
The indices in this array match the incides in the Subscribe
’s
subscriptions array.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SubAck
impl UnwindSafe for SubAck
Blanket Implementations
Mutably borrows from an owned value. Read more