pub struct Will {
pub topic: String,
pub message: Vec<u8>,
pub qos: QoS,
pub retain: bool,
}Expand description
Last Will and Testament
Fields§
§topic: String§message: Vec<u8>§qos: QoS§retain: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Will
impl RefUnwindSafe for Will
impl Send for Will
impl Sync for Will
impl Unpin for Will
impl UnsafeUnpin for Will
impl UnwindSafe for Will
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