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
protocol: Protocol
keep_alive: u16
client_id: String
clean_session: bool
last_will: Option<LastWill>
username: Option<String>
password: Option<String>
Trait Implementations
impl Debug for Connect
[src]
impl Clone for Connect
[src]
fn clone(&self) -> Connect
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more