pub enum AuthenticationResponse {
Initialization(InitializationResponse),
Challenge(ChallengeResponse),
Verification(VerificationResponse),
}
Expand description
Represents authentication messages that are responses to authenticator requests such as answers to challenges or verifying information
Variants§
Initialization(InitializationResponse)
Contains response to initialization, providing details about which methods to use
Challenge(ChallengeResponse)
Contains answers to challenge request
Verification(VerificationResponse)
Contains response to a verification request
Trait Implementations§
Source§impl Clone for AuthenticationResponse
impl Clone for AuthenticationResponse
Source§fn clone(&self) -> AuthenticationResponse
fn clone(&self) -> AuthenticationResponse
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 AuthenticationResponse
impl Debug for AuthenticationResponse
Source§impl<'de> Deserialize<'de> for AuthenticationResponse
impl<'de> Deserialize<'de> for AuthenticationResponse
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 From<InitializationResponse> for AuthenticationResponse
impl From<InitializationResponse> for AuthenticationResponse
Source§fn from(original: InitializationResponse) -> AuthenticationResponse
fn from(original: InitializationResponse) -> AuthenticationResponse
Converts to this type from the input type.
Source§impl From<VerificationResponse> for AuthenticationResponse
impl From<VerificationResponse> for AuthenticationResponse
Source§fn from(original: VerificationResponse) -> AuthenticationResponse
fn from(original: VerificationResponse) -> AuthenticationResponse
Converts to this type from the input type.
Source§impl PartialEq for AuthenticationResponse
impl PartialEq for AuthenticationResponse
Source§fn eq(&self, other: &AuthenticationResponse) -> bool
fn eq(&self, other: &AuthenticationResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for AuthenticationResponse
impl Serialize for AuthenticationResponse
impl Eq for AuthenticationResponse
impl StructuralPartialEq for AuthenticationResponse
Auto Trait Implementations§
impl Freeze for AuthenticationResponse
impl RefUnwindSafe for AuthenticationResponse
impl Send for AuthenticationResponse
impl Sync for AuthenticationResponse
impl Unpin for AuthenticationResponse
impl UnwindSafe for AuthenticationResponse
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