pub struct Pubrec {
pub pid: Pid,
pub reason_code: PubrecReasonCode,
pub properties: PubrecProperties,
}
Expand description
Body type for PUBREC packet.
Fields§
§pid: Pid
§reason_code: PubrecReasonCode
§properties: PubrecProperties
Implementations§
Trait Implementations§
impl Eq for Pubrec
impl StructuralPartialEq for Pubrec
Auto Trait Implementations§
impl Freeze for Pubrec
impl RefUnwindSafe for Pubrec
impl Send for Pubrec
impl Sync for Pubrec
impl Unpin for Pubrec
impl UnwindSafe for Pubrec
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