Struct geph4_protocol::binder::protocol::AuthRequest
source · pub struct AuthRequest {
pub username: SmolStr,
pub password: SmolStr,
pub level: Level,
pub epoch: u16,
pub blinded_digest: Bytes,
}
Expand description
Authentication request
Fields§
§username: SmolStr
§password: SmolStr
§level: Level
§epoch: u16
§blinded_digest: Bytes
Trait Implementations§
source§impl Clone for AuthRequest
impl Clone for AuthRequest
source§fn clone(&self) -> AuthRequest
fn clone(&self) -> AuthRequest
Returns a copy 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 AuthRequest
impl Debug for AuthRequest
source§impl<'de> Deserialize<'de> for AuthRequest
impl<'de> Deserialize<'de> for AuthRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for AuthRequest
impl Hash for AuthRequest
source§impl PartialEq<AuthRequest> for AuthRequest
impl PartialEq<AuthRequest> for AuthRequest
source§fn eq(&self, other: &AuthRequest) -> bool
fn eq(&self, other: &AuthRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuthRequest
impl Serialize for AuthRequest
impl Eq for AuthRequest
impl StructuralEq for AuthRequest
impl StructuralPartialEq for AuthRequest
Auto Trait Implementations§
impl RefUnwindSafe for AuthRequest
impl Send for AuthRequest
impl Sync for AuthRequest
impl Unpin for AuthRequest
impl UnwindSafe for AuthRequest
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
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more