pub struct AuthenticatePacket {
pub reason_code: AuthenticateReason,
pub authentication_method: Option<AuthenticationMethod>,
pub authentication_data: Option<AuthenticationData>,
pub reason_string: Option<ReasonString>,
pub user_properties: Vec<UserProperty>,
}
Fields§
§reason_code: AuthenticateReason
§authentication_method: Option<AuthenticationMethod>
§authentication_data: Option<AuthenticationData>
§reason_string: Option<ReasonString>
§user_properties: Vec<UserProperty>
Trait Implementations§
Source§impl Debug for AuthenticatePacket
impl Debug for AuthenticatePacket
Source§impl PartialEq for AuthenticatePacket
impl PartialEq for AuthenticatePacket
Source§impl PropertySize for AuthenticatePacket
impl PropertySize for AuthenticatePacket
fn property_size(&self, protocol_version: ProtocolVersion) -> u32
impl StructuralPartialEq for AuthenticatePacket
Auto Trait Implementations§
impl !Freeze for AuthenticatePacket
impl RefUnwindSafe for AuthenticatePacket
impl Send for AuthenticatePacket
impl Sync for AuthenticatePacket
impl Unpin for AuthenticatePacket
impl UnwindSafe for AuthenticatePacket
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