[][src]Struct mqttbytes::v5::PublishProperties

pub struct PublishProperties {
    pub payload_format_indicator: Option<u8>,
    pub message_expiry_interval: Option<u32>,
    pub topic_alias: Option<u16>,
    pub response_topic: Option<String>,
    pub correlation_data: Option<Bytes>,
    pub user_properties: Vec<(String, String)>,
    pub subscription_identifiers: Vec<usize>,
    pub content_type: Option<String>,
}

Fields

payload_format_indicator: Option<u8>message_expiry_interval: Option<u32>topic_alias: Option<u16>response_topic: Option<String>correlation_data: Option<Bytes>user_properties: Vec<(String, String)>subscription_identifiers: Vec<usize>content_type: Option<String>

Trait Implementations

impl Clone for PublishProperties[src]

impl Debug for PublishProperties[src]

impl PartialEq<PublishProperties> for PublishProperties[src]

impl StructuralPartialEq for PublishProperties[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.