Struct distant_auth::msg::ChallengeResponse
source · pub struct ChallengeResponse {
pub answers: Vec<String>,
}Expand description
Represents the answers to a previously-asked challenge associated with authentication
Fields§
§answers: Vec<String>Answers to challenge questions (in order relative to questions)
Trait Implementations§
source§impl Clone for ChallengeResponse
impl Clone for ChallengeResponse
source§fn clone(&self) -> ChallengeResponse
fn clone(&self) -> ChallengeResponse
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 ChallengeResponse
impl Debug for ChallengeResponse
source§impl<'de> Deserialize<'de> for ChallengeResponse
impl<'de> Deserialize<'de> for ChallengeResponse
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 From<ChallengeResponse> for AuthenticationResponse
impl From<ChallengeResponse> for AuthenticationResponse
source§fn from(original: ChallengeResponse) -> AuthenticationResponse
fn from(original: ChallengeResponse) -> AuthenticationResponse
Converts to this type from the input type.
source§impl PartialEq<ChallengeResponse> for ChallengeResponse
impl PartialEq<ChallengeResponse> for ChallengeResponse
source§fn eq(&self, other: &ChallengeResponse) -> bool
fn eq(&self, other: &ChallengeResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ChallengeResponse
impl Serialize for ChallengeResponse
impl Eq for ChallengeResponse
impl StructuralEq for ChallengeResponse
impl StructuralPartialEq for ChallengeResponse
Auto Trait Implementations§
impl RefUnwindSafe for ChallengeResponse
impl Send for ChallengeResponse
impl Sync for ChallengeResponse
impl Unpin for ChallengeResponse
impl UnwindSafe for ChallengeResponse
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