Struct ntex_mqtt::v5::codec::Subscribe [−][src]
pub struct Subscribe {
pub packet_id: NonZeroU16,
pub id: Option<NonZeroU32>,
pub user_properties: UserProperties,
pub topic_filters: Vec<(ByteString, SubscriptionOptions)>,
}
Expand description
Represents SUBSCRIBE packet
Fields
packet_id: NonZeroU16
Packet Identifier
id: Option<NonZeroU32>
Subscription Identifier
user_properties: UserProperties
topic_filters: Vec<(ByteString, SubscriptionOptions)>
the list of Topic Filters and QoS to which the Client wants to subscribe.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subscribe
impl UnwindSafe for Subscribe
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