[][src]Struct mqttbytes::v5::ConnectProperties

pub struct ConnectProperties {
    pub session_expiry_interval: Option<u32>,
    pub receive_maximum: Option<u16>,
    pub max_packet_size: Option<u32>,
    pub topic_alias_max: Option<u16>,
    pub request_response_info: Option<u8>,
    pub request_problem_info: Option<u8>,
    pub user_properties: Vec<(String, String)>,
    pub authentication_method: Option<String>,
    pub authentication_data: Option<Bytes>,
}

Fields

session_expiry_interval: Option<u32>

Expiry interval property after loosing connection

receive_maximum: Option<u16>

Maximum simultaneous packets

max_packet_size: Option<u32>

Maximum packet size

topic_alias_max: Option<u16>

Maximum mapping integer for a topic

request_response_info: Option<u8>request_problem_info: Option<u8>user_properties: Vec<(String, String)>

List of user properties

authentication_method: Option<String>

Method of authentication

authentication_data: Option<Bytes>

Authentication data

Trait Implementations

impl Clone for ConnectProperties[src]

impl Debug for ConnectProperties[src]

impl PartialEq<ConnectProperties> for ConnectProperties[src]

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