Struct mqttrust_core::PublishNotification
source · [−]pub struct PublishNotification {
pub dup: bool,
pub qospid: QoS,
pub retain: bool,
pub topic_name: String<256>,
pub payload: Vec<u8, 4096>,
}
Fields
dup: bool
qospid: QoS
retain: bool
topic_name: String<256>
payload: Vec<u8, 4096>
Trait Implementations
sourceimpl Debug for PublishNotification
impl Debug for PublishNotification
sourceimpl PartialEq<PublishNotification> for PublishNotification
impl PartialEq<PublishNotification> for PublishNotification
sourcefn eq(&self, other: &PublishNotification) -> bool
fn eq(&self, other: &PublishNotification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PublishNotification) -> bool
fn ne(&self, other: &PublishNotification) -> bool
This method tests for !=
.
sourceimpl<'a> TryFrom<Publish<'a>> for PublishNotification
impl<'a> TryFrom<Publish<'a>> for PublishNotification
impl StructuralPartialEq for PublishNotification
Auto Trait Implementations
impl RefUnwindSafe for PublishNotification
impl Send for PublishNotification
impl Sync for PublishNotification
impl Unpin for PublishNotification
impl UnwindSafe for PublishNotification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more