pub struct AuthProperties {
pub auth_method: Option<Arc<String>>,
pub auth_data: Option<Bytes>,
pub reason_string: Option<Arc<String>>,
pub user_properties: Vec<UserProperty>,
}
Expand description
Property list for AUTH packet.
Fields§
§auth_method: Option<Arc<String>>
§auth_data: Option<Bytes>
§reason_string: Option<Arc<String>>
§user_properties: Vec<UserProperty>
Implementations§
Source§impl AuthProperties
impl AuthProperties
pub async fn decode_async<T: AsyncRead + Unpin>( reader: &mut T, packet_type: PacketType, ) -> Result<Self, ErrorV5>
Trait Implementations§
Source§impl Clone for AuthProperties
impl Clone for AuthProperties
Source§fn clone(&self) -> AuthProperties
fn clone(&self) -> AuthProperties
Returns a duplicate 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 AuthProperties
impl Debug for AuthProperties
Source§impl Default for AuthProperties
impl Default for AuthProperties
Source§fn default() -> AuthProperties
fn default() -> AuthProperties
Returns the “default value” for a type. Read more
Source§impl Encodable for AuthProperties
impl Encodable for AuthProperties
Source§impl PartialEq for AuthProperties
impl PartialEq for AuthProperties
impl Eq for AuthProperties
impl StructuralPartialEq for AuthProperties
Auto Trait Implementations§
impl !Freeze for AuthProperties
impl RefUnwindSafe for AuthProperties
impl Send for AuthProperties
impl Sync for AuthProperties
impl Unpin for AuthProperties
impl UnwindSafe for AuthProperties
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