pub enum PropertyId {
Show 27 variants
PayloadFormatIndicator = 1,
RequestProblemInformation = 23,
RequestResponseInformation = 25,
MaximumQoS = 36,
RetainAvailable = 37,
WildcardSubscriptionAvailable = 40,
SubscriptionIdentifierAvailable = 41,
SharedSubscriptionAvailable = 42,
ServerKeepAlive = 19,
ReceiveMaximum = 33,
TopicAliasMaximum = 34,
TopicAlias = 35,
MessageExpiryInterval = 2,
SessionExpiryInterval = 17,
WillDelayInterval = 24,
MaximumPacketSize = 39,
SubscriptionIdentifier = 11,
ContentType = 3,
ResponseTopic = 8,
AssignedClientIdentifier = 18,
AuthenticationMethod = 21,
ResponseInformation = 26,
ServerReference = 28,
ReasonString = 31,
CorrelationData = 9,
AuthenticationData = 22,
UserProperty = 38,
}Expand description
MQTT v5.0 Property Identifiers
Variants§
PayloadFormatIndicator = 1
RequestProblemInformation = 23
RequestResponseInformation = 25
MaximumQoS = 36
RetainAvailable = 37
WildcardSubscriptionAvailable = 40
SubscriptionIdentifierAvailable = 41
ServerKeepAlive = 19
ReceiveMaximum = 33
TopicAliasMaximum = 34
TopicAlias = 35
MessageExpiryInterval = 2
SessionExpiryInterval = 17
WillDelayInterval = 24
MaximumPacketSize = 39
SubscriptionIdentifier = 11
ContentType = 3
ResponseTopic = 8
AssignedClientIdentifier = 18
AuthenticationMethod = 21
ResponseInformation = 26
ServerReference = 28
ReasonString = 31
CorrelationData = 9
AuthenticationData = 22
UserProperty = 38
Implementations§
Source§impl PropertyId
impl PropertyId
Sourcepub fn allows_multiple(&self) -> bool
pub fn allows_multiple(&self) -> bool
Checks if this property can appear multiple times in a packet
Sourcepub fn value_type(&self) -> PropertyValueType
pub fn value_type(&self) -> PropertyValueType
Gets the expected value type for this property
Trait Implementations§
Source§impl Clone for PropertyId
impl Clone for PropertyId
Source§fn clone(&self) -> PropertyId
fn clone(&self) -> PropertyId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertyId
impl Debug for PropertyId
Source§impl Hash for PropertyId
impl Hash for PropertyId
Source§impl PartialEq for PropertyId
impl PartialEq for PropertyId
impl Copy for PropertyId
impl Eq for PropertyId
impl StructuralPartialEq for PropertyId
Auto Trait Implementations§
impl Freeze for PropertyId
impl RefUnwindSafe for PropertyId
impl Send for PropertyId
impl Sync for PropertyId
impl Unpin for PropertyId
impl UnwindSafe for PropertyId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more