pub struct Auth {
pub reason_code: AuthReasonCode,
pub auth_method: Option<ByteString>,
pub auth_data: Option<Bytes>,
pub reason_string: Option<ByteString>,
pub user_properties: UserProperties,
}
Expand description
AUTH message
Fields§
§reason_code: AuthReasonCode
§auth_method: Option<ByteString>
§auth_data: Option<Bytes>
§reason_string: Option<ByteString>
§user_properties: UserProperties
Trait Implementations§
impl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Freeze for Auth
impl !RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl !UnwindSafe for Auth
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)