pub struct Publish {
pub dup: bool,
pub qos: QoS,
pub retain: bool,
pub topic_name: String,
pub pid: Option<PacketIdentifier>,
pub payload: Arc<Vec<u8>>,
}
Fields§
§dup: bool
§qos: QoS
§retain: bool
§topic_name: String
§pid: Option<PacketIdentifier>
§payload: Arc<Vec<u8>>
Trait Implementations§
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