Struct ntex_mqtt::v5::codec::PublishProperties [−][src]
pub struct PublishProperties {
pub topic_alias: Option<NonZeroU16>,
pub correlation_data: Option<Bytes>,
pub message_expiry_interval: Option<NonZeroU32>,
pub content_type: Option<ByteString>,
pub user_properties: UserProperties,
pub is_utf8_payload: Option<bool>,
pub response_topic: Option<ByteString>,
pub subscription_ids: Option<Vec<NonZeroU32>>,
}
Fields
topic_alias: Option<NonZeroU16>
correlation_data: Option<Bytes>
message_expiry_interval: Option<NonZeroU32>
content_type: Option<ByteString>
user_properties: UserProperties
is_utf8_payload: Option<bool>
response_topic: Option<ByteString>
subscription_ids: Option<Vec<NonZeroU32>>
Trait Implementations
Returns the “default value” for a type. Read more
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 PublishProperties
impl Send for PublishProperties
impl Sync for PublishProperties
impl Unpin for PublishProperties
impl !UnwindSafe for PublishProperties
Blanket Implementations
Mutably borrows from an owned value. 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