pub struct Publish<'a> {
pub dup: bool,
pub qospid: QosPid,
pub retain: bool,
pub topic_name: &'a str,
pub payload: &'a [u8],
}
Expand description
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
pub fn eq(&self, other: &Publish<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &Publish<'a>) -> bool
This method tests for !=
.
The type returned in the event of a conversion error.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.