pub struct AuthProperties {
pub method: Option<String>,
pub data: Option<Bytes>,
pub reason: Option<String>,
pub user_properties: Vec<(String, String)>,
}Fields§
§method: Option<String>§data: Option<Bytes>§reason: Option<String>§user_properties: Vec<(String, String)>Implementations§
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 (const: unstable) · 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 PartialEq for AuthProperties
impl PartialEq for AuthProperties
Source§fn eq(&self, other: &AuthProperties) -> bool
fn eq(&self, other: &AuthProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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