Struct mqttrust_core::Publish
source · [−]pub struct Publish<'a> {
pub dup: bool,
pub qos: QoS,
pub pid: Option<Pid>,
pub retain: bool,
pub topic_name: &'a str,
pub payload: &'a [u8],
}
Expand description
Publish packet (MQTT 3.3).
Fields
dup: bool
qos: QoS
pid: Option<Pid>
retain: bool
topic_name: &'a str
payload: &'a [u8]