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)>, }
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
impl StructuralPartialEq for Subscribe
[src]
impl StructuralPartialEq for Subscribe
[src]Auto Trait Implementations
impl RefUnwindSafe for Subscribe
impl RefUnwindSafe for Subscribe
impl UnwindSafe for Subscribe
impl UnwindSafe for Subscribe
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self