Enum minimq::Property[][src]

pub enum Property<'a> {
Show 27 variants PayloadFormatIndicator(u8), MessageExpiryInterval(u32), ContentType(&'a str), ResponseTopic(&'a str), CorrelationData(&'a [u8]), SubscriptionIdentifier(usize), SessionExpiryInterval(u32), AssignedClientIdentifier(&'a str), ServerKeepAlive(u16), AuthenticationMethod(&'a str), AuthenticationData(&'a [u8]), RequestProblemInformation(u8), WillDelayInterval(u32), RequestResponseInformation(u8), ResponseInformation(&'a str), ServerReference(&'a str), ReasonString(&'a str), ReceiveMaximum(u16), TopicAliasMaximum(u16), TopicAlias(u16), MaximumQoS(u8), RetainAvailable(u8), UserProperty(&'a str, &'a str), MaximumPacketSize(u32), WildcardSubscriptionAvailable(u8), SubscriptionIdentifierAvailable(u8), SharedSubscriptionAvailable(u8),
}
Expand description

All of the possible properties that MQTT version 5 supports.

Variants

PayloadFormatIndicator(u8)

Tuple Fields

0: u8

MessageExpiryInterval(u32)

Tuple Fields

0: u32

ContentType(&'a str)

Tuple Fields

0: &'a str

ResponseTopic(&'a str)

Tuple Fields

0: &'a str

CorrelationData(&'a [u8])

Tuple Fields

SubscriptionIdentifier(usize)

Tuple Fields

0: usize

SessionExpiryInterval(u32)

Tuple Fields

0: u32

AssignedClientIdentifier(&'a str)

Tuple Fields

0: &'a str

ServerKeepAlive(u16)

Tuple Fields

0: u16

AuthenticationMethod(&'a str)

Tuple Fields

0: &'a str

AuthenticationData(&'a [u8])

Tuple Fields

RequestProblemInformation(u8)

Tuple Fields

0: u8

WillDelayInterval(u32)

Tuple Fields

0: u32

RequestResponseInformation(u8)

Tuple Fields

0: u8

ResponseInformation(&'a str)

Tuple Fields

0: &'a str

ServerReference(&'a str)

Tuple Fields

0: &'a str

ReasonString(&'a str)

Tuple Fields

0: &'a str

ReceiveMaximum(u16)

Tuple Fields

0: u16

TopicAliasMaximum(u16)

Tuple Fields

0: u16

TopicAlias(u16)

Tuple Fields

0: u16

MaximumQoS(u8)

Tuple Fields

0: u8

RetainAvailable(u8)

Tuple Fields

0: u8

UserProperty(&'a str, &'a str)

Tuple Fields

0: &'a str
1: &'a str

MaximumPacketSize(u32)

Tuple Fields

0: u32

WildcardSubscriptionAvailable(u8)

Tuple Fields

0: u8

SubscriptionIdentifierAvailable(u8)

Tuple Fields

0: u8

SharedSubscriptionAvailable(u8)

Tuple Fields

0: u8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.