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 ==
.impl Copy for ConnectAck
impl Eq for ConnectAck
impl StructuralEq for ConnectAck
impl StructuralPartialEq for ConnectAck
Auto Trait Implementations§
impl RefUnwindSafe for ConnectAck
impl Send for ConnectAck
impl Sync for ConnectAck
impl Unpin for ConnectAck
impl UnwindSafe for ConnectAck
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more