pub struct Suback {
pub packet_identifier: PacketIdentifier,
pub reason_code: ReasonCode,
}Expand description
Content of Event::Suback.
Fields§
§packet_identifier: PacketIdentifierPacket identifier of the acknowledged SUBSCRIBE packet.
reason_code: ReasonCodeReason code returned for the subscription.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Suback
impl RefUnwindSafe for Suback
impl Send for Suback
impl Sync for Suback
impl Unpin for Suback
impl UnsafeUnpin 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