pub struct Message {
pub topic: TopicPath,
pub qos: QoS,
pub retain: bool,
pub pid: Option<PacketIdentifier>,
pub payload: Arc<Vec<u8>>,
}
Fields
topic: TopicPath
qos: QoS
retain: bool
pid: Option<PacketIdentifier>
payload: Arc<Vec<u8>>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more