Struct mqttrust_core::Unsubscribe
source · [−]Expand description
Unsubscribe packet (MQTT 3.10).
Fields
pid: Option<Pid>
topics: List<'a, &'a str>
Implementations
Trait Implementations
sourceimpl<'a> Clone for Unsubscribe<'a>
impl<'a> Clone for Unsubscribe<'a>
sourcefn clone(&self) -> Unsubscribe<'a>
fn clone(&self) -> Unsubscribe<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for Unsubscribe<'a>
impl<'a> Debug for Unsubscribe<'a>
sourceimpl<'a> From<Unsubscribe<'a>> for Packet<'a>
impl<'a> From<Unsubscribe<'a>> for Packet<'a>
sourcefn from(p: Unsubscribe<'a>) -> Packet<'a>
fn from(p: Unsubscribe<'a>) -> Packet<'a>
Converts to this type from the input type.
sourceimpl<'a> PartialEq<Unsubscribe<'a>> for Unsubscribe<'a>
impl<'a> PartialEq<Unsubscribe<'a>> for Unsubscribe<'a>
sourcefn eq(&self, other: &Unsubscribe<'a>) -> bool
fn eq(&self, other: &Unsubscribe<'a>) -> bool
impl<'a> StructuralPartialEq for Unsubscribe<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Unsubscribe<'a>
impl<'a> Send for Unsubscribe<'a>
impl<'a> Sync for Unsubscribe<'a>
impl<'a> Unpin for Unsubscribe<'a>
impl<'a> UnwindSafe for Unsubscribe<'a>
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