pub struct RawMqttMessage {
pub topic: String,
pub payload: Vec<u8>,
pub qos: u8,
}Expand description
原始 MQTT 消息
Fields§
§topic: String§payload: Vec<u8>§qos: u8Trait Implementations§
Source§impl Clone for RawMqttMessage
impl Clone for RawMqttMessage
Source§fn clone(&self) -> RawMqttMessage
fn clone(&self) -> RawMqttMessage
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 RawMqttMessage
impl RefUnwindSafe for RawMqttMessage
impl Send for RawMqttMessage
impl Sync for RawMqttMessage
impl Unpin for RawMqttMessage
impl UnsafeUnpin for RawMqttMessage
impl UnwindSafe for RawMqttMessage
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