Struct netidx_netproto::resolver::AuthChallenge
source · pub struct AuthChallenge {
pub hash_method: HashMethod,
pub challenge: u128,
}
Fields§
§hash_method: HashMethod
§challenge: u128
Trait Implementations§
source§impl Clone for AuthChallenge
impl Clone for AuthChallenge
source§fn clone(&self) -> AuthChallenge
fn clone(&self) -> AuthChallenge
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 AuthChallenge
impl Debug for AuthChallenge
source§impl Pack for AuthChallenge
impl Pack for AuthChallenge
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
source§impl PartialEq for AuthChallenge
impl PartialEq for AuthChallenge
source§fn eq(&self, other: &AuthChallenge) -> bool
fn eq(&self, other: &AuthChallenge) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AuthChallenge
impl StructuralPartialEq for AuthChallenge
Auto Trait Implementations§
impl Freeze for AuthChallenge
impl RefUnwindSafe for AuthChallenge
impl Send for AuthChallenge
impl Sync for AuthChallenge
impl Unpin for AuthChallenge
impl UnwindSafe for AuthChallenge
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