pub struct PubRel {
pub pkid: u16,
pub reason: PubRelReason,
pub properties: Option<PubRelProperties>,
}
Expand description
QoS2
Publish release, in response to PUBREC packet
Fields§
§pkid: u16
§reason: PubRelReason
§properties: Option<PubRelProperties>
Implementations§
Trait Implementations§
impl Eq for PubRel
impl StructuralPartialEq for PubRel
Auto Trait Implementations§
impl Freeze for PubRel
impl RefUnwindSafe for PubRel
impl Send for PubRel
impl Sync for PubRel
impl Unpin for PubRel
impl UnwindSafe for PubRel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more