Struct mqtt3::Connect [] [src]

pub struct Connect {
    pub protocol: Protocol,
    pub keep_alive: u16,
    pub client_id: String,
    pub clean_session: bool,
    pub last_will: Option<LastWill>,
    pub username: Option<String>,
    pub password: Option<String>,
}

Fields

Trait Implementations

impl Debug for Connect
[src]

Formats the value using the given formatter.

impl Clone for Connect
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Connect
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.