pub struct MosquittoMessage<'a> {
pub topic: &'a str,
pub payload: &'a [u8],
pub qos: i32,
pub retain: bool,
}Fields§
§topic: &'a str§payload: &'a [u8]§qos: i32§retain: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MosquittoMessage<'a>
impl<'a> RefUnwindSafe for MosquittoMessage<'a>
impl<'a> Send for MosquittoMessage<'a>
impl<'a> Sync for MosquittoMessage<'a>
impl<'a> Unpin for MosquittoMessage<'a>
impl<'a> UnwindSafe for MosquittoMessage<'a>
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