Struct ntex_mqtt::v3::codec::ConnectAck
source · pub struct ConnectAck {
pub return_code: ConnectAckReason,
pub session_present: bool,
}
Expand description
ConnectAck message
Fields§
§return_code: ConnectAckReason
§session_present: bool
enables a Client to establish whether the Client and Server have a consistent view about whether there is already stored Session state.
Trait Implementations§
source§impl Clone for ConnectAck
impl Clone for ConnectAck
source§fn clone(&self) -> ConnectAck
fn clone(&self) -> ConnectAck
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectAck
impl Debug for ConnectAck
source§impl PartialEq<ConnectAck> for ConnectAck
impl PartialEq<ConnectAck> for ConnectAck
source§fn eq(&self, other: &ConnectAck) -> bool
fn eq(&self, other: &ConnectAck) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.