pub struct LastWill {
pub topic: String,
pub message: Bytes,
pub qos: QoS,
pub retain: bool,
}
Expand description
LastWill that broker forwards on behalf of the client
Fields§
§topic: String
§message: Bytes
§qos: QoS
§retain: bool
Implementations§
Trait Implementations§
impl Eq for LastWill
impl StructuralPartialEq for LastWill
Auto Trait Implementations§
impl !Freeze for LastWill
impl RefUnwindSafe for LastWill
impl Send for LastWill
impl Sync for LastWill
impl Unpin for LastWill
impl UnwindSafe for LastWill
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