Struct mqtt3::Publish [] [src]

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

Trait Implementations

impl Debug for Publish
[src]

Formats the value using the given formatter.

impl Clone for Publish
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Publish
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.