[][src]Struct mqtt_v5::types::FinalWill

pub struct FinalWill {
    pub topic: String,
    pub payload: Vec<u8>,
    pub qos: QoS,
    pub should_retain: bool,
    pub will_delay_interval: Option<WillDelayInterval>,
    pub payload_format_indicator: Option<PayloadFormatIndicator>,
    pub message_expiry_interval: Option<MessageExpiryInterval>,
    pub content_type: Option<ContentType>,
    pub response_topic: Option<ResponseTopic>,
    pub correlation_data: Option<CorrelationData>,
    pub user_properties: Vec<UserProperty>,
}

Fields

topic: Stringpayload: Vec<u8>qos: QoSshould_retain: boolwill_delay_interval: Option<WillDelayInterval>payload_format_indicator: Option<PayloadFormatIndicator>message_expiry_interval: Option<MessageExpiryInterval>content_type: Option<ContentType>response_topic: Option<ResponseTopic>correlation_data: Option<CorrelationData>user_properties: Vec<UserProperty>

Trait Implementations

impl Debug for FinalWill[src]

impl PartialEq<FinalWill> for FinalWill[src]

impl PropertySize for FinalWill[src]

impl StructuralPartialEq for FinalWill[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.