Struct newam_mqtt::v3::PublishDe
source · pub struct PublishDe<'a> {
pub dup_flag: bool,
pub qos_level: Option<QoS>,
pub retain: bool,
pub topic: Result<&'a str, Utf8Error>,
pub payload: &'a [u8],
}
Fields§
§dup_flag: bool
§qos_level: Option<QoS>
§retain: bool
§topic: Result<&'a str, Utf8Error>
§payload: &'a [u8]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PublishDe<'a>
impl<'a> RefUnwindSafe for PublishDe<'a>
impl<'a> Send for PublishDe<'a>
impl<'a> Sync for PublishDe<'a>
impl<'a> Unpin for PublishDe<'a>
impl<'a> UnwindSafe for PublishDe<'a>
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