Struct ntex_mqtt::v5::codec::PublishAck [−][src]
pub struct PublishAck {
pub packet_id: NonZeroU16,
pub reason_code: PublishAckReason,
pub properties: UserProperties,
pub reason_string: Option<ByteString>,
}
Expand description
PUBACK/PUBREC message content
Fields
packet_id: NonZeroU16
Packet Identifier
reason_code: PublishAckReason
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 PublishAck
impl Send for PublishAck
impl Sync for PublishAck
impl Unpin for PublishAck
impl UnwindSafe for PublishAck
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more