[][src]Struct rumqttlog::router::Message

pub struct Message {
    pub topic: String,
    pub qos: u8,
    pub payload: Bytes,
}

Fields

topic: String

Log to sweep

qos: u8

Qos of the topic

payload: Bytes

Reply data chain

Implementations

impl Message[src]

pub fn new(topic: String, qos: u8, payload: Bytes) -> Message[src]

Trait Implementations

impl Debug for Message[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.