Struct poster::UnsubscribeRsp
source · pub struct UnsubscribeRsp { /* private fields */ }Expand description
Response to the unsubscribe request, representing the UNSUBACK packet.
Implementations§
source§impl UnsubscribeRsp
impl UnsubscribeRsp
sourcepub fn reason_string(&self) -> Option<&str>
pub fn reason_string(&self) -> Option<&str>
Accesses reason string property.
sourcepub fn user_properties(&self) -> &UserProperties
pub fn user_properties(&self) -> &UserProperties
Accesses user properties.
sourcepub fn payload(&self) -> &[UnsubackReason]
pub fn payload(&self) -> &[UnsubackReason]
Accesses the payload. Payload is a list of SubackReason codes, representing the subscription result for each subscribed topic.