[][src]Struct actix_mqtt_client::PublishMessage

pub struct PublishMessage {
    pub id: u16,
    pub topic_name: String,
    pub payload: Vec<u8>,
}

The actix message containing the payload of a MQTT publish packet

Fields

id: u16

The packet identifier of the publish packet for QoS Level 1 and Level 2, or 0 for QoS Level 0

topic_name: String

The topic name of the message

payload: Vec<u8>

The message payload

Trait Implementations

impl Clone for PublishMessage[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PublishMessage[src]

impl Message for PublishMessage[src]

type Result = ()

The type of value that this message will resolved with if it is successful. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,