pub enum MqttPayloadKind {
Contract(MqttContractMeta),
Channel(MqttChannelMeta),
Operation(MqttOperationMeta),
Message(MqttMessageMeta),
}Expand description
Decoded MQTT payload oneof arm.
Variants§
Contract(MqttContractMeta)
Contract-level metadata.
Channel(MqttChannelMeta)
Channel metadata.
Operation(MqttOperationMeta)
Operation metadata.
Message(MqttMessageMeta)
Message metadata.
Trait Implementations§
Source§impl Clone for MqttPayloadKind
impl Clone for MqttPayloadKind
Source§fn clone(&self) -> MqttPayloadKind
fn clone(&self) -> MqttPayloadKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MqttPayloadKind
impl Debug for MqttPayloadKind
Source§impl PartialEq for MqttPayloadKind
impl PartialEq for MqttPayloadKind
Source§fn eq(&self, other: &MqttPayloadKind) -> bool
fn eq(&self, other: &MqttPayloadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MqttPayloadKind
Auto Trait Implementations§
impl Freeze for MqttPayloadKind
impl RefUnwindSafe for MqttPayloadKind
impl Send for MqttPayloadKind
impl Sync for MqttPayloadKind
impl Unpin for MqttPayloadKind
impl UnsafeUnpin for MqttPayloadKind
impl UnwindSafe for MqttPayloadKind
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