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

Tuple Fields of PayloadFormatIndicator

0: u8
MessageExpiryInterval

Tuple Fields of MessageExpiryInterval

0: u32
ContentType

Tuple Fields of ContentType

0: &'a str
ResponseTopic

Tuple Fields of ResponseTopic

0: &'a str
CorrelationData

Tuple Fields of CorrelationData

0: &'a [u8]
SubscriptionIdentifier

Tuple Fields of SubscriptionIdentifier

0: usize
SessionExpiryInterval

Tuple Fields of SessionExpiryInterval

0: u32
AssignedClientIdentifier

Tuple Fields of AssignedClientIdentifier

0: &'a str
ServerKeepAlive

Tuple Fields of ServerKeepAlive

0: u16
AuthenticationMethod

Tuple Fields of AuthenticationMethod

0: &'a str
AuthenticationData

Tuple Fields of AuthenticationData

0: &'a [u8]
RequestProblemInformation

Tuple Fields of RequestProblemInformation

0: u8
WillDelayInterval

Tuple Fields of WillDelayInterval

0: u32
RequestResponseInformation

Tuple Fields of RequestResponseInformation

0: u8
ResponseInformation

Tuple Fields of ResponseInformation

0: &'a str
ServerReference

Tuple Fields of ServerReference

0: &'a str
ReasonString

Tuple Fields of ReasonString

0: &'a str
ReceiveMaximum

Tuple Fields of ReceiveMaximum

0: u16
TopicAliasMaximum

Tuple Fields of TopicAliasMaximum

0: u16
TopicAlias

Tuple Fields of TopicAlias

0: u16
MaximumQoS

Tuple Fields of MaximumQoS

0: u8
RetainAvailable

Tuple Fields of RetainAvailable

0: u8
UserProperty

Tuple Fields of UserProperty

0: &'a str1: &'a str
MaximumPacketSize

Tuple Fields of MaximumPacketSize

0: u32
WildcardSubscriptionAvailable

Tuple Fields of WildcardSubscriptionAvailable

0: u8
SubscriptionIdentifierAvailable

Tuple Fields of SubscriptionIdentifierAvailable

0: u8
SharedSubscriptionAvailable

Tuple Fields of SharedSubscriptionAvailable

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.