Struct mqttbytes::v4::Publish [−][src]
pub struct Publish {
pub dup: bool,
pub qos: QoS,
pub retain: bool,
pub topic: String,
pub pkid: u16,
pub payload: Bytes,
}
Expand description
Publish packet
Fields
dup: bool
qos: QoS
retain: bool
topic: String
pkid: u16
payload: Bytes
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Publish
impl UnwindSafe for Publish
Blanket Implementations
Mutably borrows from an owned value. Read more