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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for ChallengeResponse
impl PartialEq for ChallengeResponse
Source§impl Serialize for ChallengeResponse
impl Serialize for ChallengeResponse
impl Eq for ChallengeResponse
impl StructuralPartialEq for ChallengeResponse
Auto Trait Implementations§
impl Freeze for ChallengeResponse
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