Struct ntex_mqtt::v5::codec::PublishAck2 [−][src]
pub struct PublishAck2 {
pub packet_id: NonZeroU16,
pub reason_code: PublishAck2Reason,
pub properties: UserProperties,
pub reason_string: Option<ByteString>,
}
Expand description
PUBREL/PUBCOMP message content
Fields
packet_id: NonZeroU16
Packet Identifier
reason_code: PublishAck2Reason
properties: UserProperties
reason_string: Option<ByteString>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PublishAck2
impl Send for PublishAck2
impl Sync for PublishAck2
impl Unpin for PublishAck2
impl UnwindSafe for PublishAck2
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more