Struct mqttrust_core::Connect [−][src]
pub struct Connect<'a> { pub protocol: Protocol, pub keep_alive: u16, pub client_id: &'a str, pub clean_session: bool, pub last_will: Option<LastWill<'a>>, pub username: Option<&'a str>, pub password: Option<&'a [u8]>, }
Expand description
Connect packet (MQTT 3.1).
Fields
protocol: Protocol
keep_alive: u16
client_id: &'a str
clean_session: bool
last_will: Option<LastWill<'a>>
username: Option<&'a str>
password: Option<&'a [u8]>