pub struct MqttMessage {
pub topic: String,
pub payload: Vec<u8>,
pub qos: MqttQoS,
}Expand description
MQTT message
Fields§
§topic: String§payload: Vec<u8>§qos: MqttQoSImplementations§
Trait Implementations§
Source§impl Clone for MqttMessage
impl Clone for MqttMessage
Source§fn clone(&self) -> MqttMessage
fn clone(&self) -> MqttMessage
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 moreAuto Trait Implementations§
impl Freeze for MqttMessage
impl RefUnwindSafe for MqttMessage
impl Send for MqttMessage
impl Sync for MqttMessage
impl Unpin for MqttMessage
impl UnsafeUnpin for MqttMessage
impl UnwindSafe for MqttMessage
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