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§
source§impl PartialEq<Auth> for Auth
impl PartialEq<Auth> for Auth
impl Eq for Auth
impl StructuralEq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
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