[][src]Struct mqttbytes::v5::ConnAckProperties

pub struct ConnAckProperties {
    pub session_expiry_interval: Option<u32>,
    pub receive_max: Option<u16>,
    pub max_qos: Option<u8>,
    pub retain_available: Option<u8>,
    pub max_packet_size: Option<u32>,
    pub assigned_client_identifier: Option<String>,
    pub topic_alias_max: Option<u16>,
    pub reason_string: Option<String>,
    pub user_properties: Vec<(String, String)>,
    pub wildcard_subscription_available: Option<u8>,
    pub subscription_identifiers_available: Option<u8>,
    pub shared_subscription_available: Option<u8>,
    pub server_keep_alive: Option<u16>,
    pub response_information: Option<String>,
    pub server_reference: Option<String>,
    pub authentication_method: Option<String>,
    pub authentication_data: Option<Bytes>,
}

Fields

session_expiry_interval: Option<u32>receive_max: Option<u16>max_qos: Option<u8>retain_available: Option<u8>max_packet_size: Option<u32>assigned_client_identifier: Option<String>topic_alias_max: Option<u16>reason_string: Option<String>user_properties: Vec<(String, String)>wildcard_subscription_available: Option<u8>subscription_identifiers_available: Option<u8>shared_subscription_available: Option<u8>server_keep_alive: Option<u16>response_information: Option<String>server_reference: Option<String>authentication_method: Option<String>authentication_data: Option<Bytes>

Implementations

impl ConnAckProperties[src]

pub fn new() -> ConnAckProperties[src]

pub fn len(&self) -> usize[src]

pub fn extract(
    mut bytes: &mut Bytes
) -> Result<Option<ConnAckProperties>, Error>
[src]

Trait Implementations

impl Clone for ConnAckProperties[src]

impl Debug for ConnAckProperties[src]

impl PartialEq<ConnAckProperties> for ConnAckProperties[src]

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