pub struct Suback {
pub pid: Pid,
pub properties: SubackProperties,
pub topics: Vec<SubscribeReasonCode>,
}
Expand description
Body type for SUBACK packet.
Fields§
§pid: Pid
§properties: SubackProperties
§topics: Vec<SubscribeReasonCode>
Implementations§
Trait Implementations§
impl Eq for Suback
impl StructuralPartialEq for Suback
Auto Trait Implementations§
impl Freeze for Suback
impl RefUnwindSafe for Suback
impl Send for Suback
impl Sync for Suback
impl Unpin for Suback
impl UnwindSafe for Suback
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