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<AuthChallenge> for AuthChallenge
impl PartialEq<AuthChallenge> 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 ==
.