pub struct Puback {
pub packet_identifier: PacketIdentifier,
pub reason_code: ReasonCode,
}Expand description
Content of Event::PublishAcknowledged, Event::PublishReceived,
Event::PublishReleased, and Event::PublishComplete.
The reason code is always successful.
Fields§
§packet_identifier: PacketIdentifierPacket identifier of the acknowledged PUBLISH packet.
reason_code: ReasonCodeReason code of this state in the publication process
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Puback
impl RefUnwindSafe for Puback
impl Send for Puback
impl Sync for Puback
impl Unpin for Puback
impl UnsafeUnpin for Puback
impl UnwindSafe for Puback
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