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 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.