pub struct Publish {
pub dup: bool,
pub retain: bool,
pub qos_pid: QosPid,
pub topic_name: TopicName,
pub payload: Bytes,
pub properties: PublishProperties,
}
Expand description
Body type of PUBLISH packet.
Fields§
§dup: bool
§retain: bool
§qos_pid: QosPid
§topic_name: TopicName
§payload: Bytes
§properties: PublishProperties
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