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 of PayloadFormatIndicator

0: u8
MessageExpiryInterval(u32)

Tuple Fields of MessageExpiryInterval

0: u32
ContentType(&'a str)

Tuple Fields of ContentType

0: &'a str
ResponseTopic(&'a str)

Tuple Fields of ResponseTopic

0: &'a str
CorrelationData(&'a [u8])

Tuple Fields of CorrelationData

0: &'a [u8]
SubscriptionIdentifier(usize)

Tuple Fields of SubscriptionIdentifier

0: usize
SessionExpiryInterval(u32)

Tuple Fields of SessionExpiryInterval

0: u32
AssignedClientIdentifier(&'a str)

Tuple Fields of AssignedClientIdentifier

0: &'a str
ServerKeepAlive(u16)

Tuple Fields of ServerKeepAlive

0: u16
AuthenticationMethod(&'a str)

Tuple Fields of AuthenticationMethod

0: &'a str
AuthenticationData(&'a [u8])

Tuple Fields of AuthenticationData

0: &'a [u8]
RequestProblemInformation(u8)

Tuple Fields of RequestProblemInformation

0: u8
WillDelayInterval(u32)

Tuple Fields of WillDelayInterval

0: u32
RequestResponseInformation(u8)

Tuple Fields of RequestResponseInformation

0: u8
ResponseInformation(&'a str)

Tuple Fields of ResponseInformation

0: &'a str
ServerReference(&'a str)

Tuple Fields of ServerReference

0: &'a str
ReasonString(&'a str)

Tuple Fields of ReasonString

0: &'a str
ReceiveMaximum(u16)

Tuple Fields of ReceiveMaximum

0: u16
TopicAliasMaximum(u16)

Tuple Fields of TopicAliasMaximum

0: u16
TopicAlias(u16)

Tuple Fields of TopicAlias

0: u16
MaximumQoS(u8)

Tuple Fields of MaximumQoS

0: u8
RetainAvailable(u8)

Tuple Fields of RetainAvailable

0: u8
UserProperty(&'a str, &'a str)

Tuple Fields of UserProperty

0: &'a str1: &'a str
MaximumPacketSize(u32)

Tuple Fields of MaximumPacketSize

0: u32
WildcardSubscriptionAvailable(u8)

Tuple Fields of WildcardSubscriptionAvailable

0: u8
SubscriptionIdentifierAvailable(u8)

Tuple Fields of SubscriptionIdentifierAvailable

0: u8
SharedSubscriptionAvailable(u8)

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.