pub struct Publish {
pub dup: bool,
pub retain: bool,
pub qos_pid: QosPid,
pub topic_name: TopicName,
pub payload: Bytes,
}
Expand description
Publish packet body type.
Fields§
§dup: bool
§retain: bool
§qos_pid: QosPid
§topic_name: TopicName
§payload: Bytes
Implementations§
Trait Implementations§
impl Eq for Publish
impl StructuralPartialEq for Publish
Auto Trait Implementations§
impl !Freeze for Publish
impl RefUnwindSafe for Publish
impl Send for Publish
impl Sync for Publish
impl Unpin for Publish
impl UnwindSafe for Publish
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