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
sourceimpl Clone for AuthenticationResponse
impl Clone for AuthenticationResponse
sourcefn clone(&self) -> AuthenticationResponse
fn clone(&self) -> AuthenticationResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AuthenticationResponse
impl Debug for AuthenticationResponse
sourceimpl<'de> Deserialize<'de> for AuthenticationResponse
impl<'de> Deserialize<'de> for AuthenticationResponse
sourcefn 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
sourceimpl From<ChallengeResponse> for AuthenticationResponse
impl From<ChallengeResponse> for AuthenticationResponse
sourcefn from(original: ChallengeResponse) -> AuthenticationResponse
fn from(original: ChallengeResponse) -> AuthenticationResponse
Converts to this type from the input type.
sourceimpl From<InitializationResponse> for AuthenticationResponse
impl From<InitializationResponse> for AuthenticationResponse
sourcefn from(original: InitializationResponse) -> AuthenticationResponse
fn from(original: InitializationResponse) -> AuthenticationResponse
Converts to this type from the input type.
sourceimpl From<VerificationResponse> for AuthenticationResponse
impl From<VerificationResponse> for AuthenticationResponse
sourcefn from(original: VerificationResponse) -> AuthenticationResponse
fn from(original: VerificationResponse) -> AuthenticationResponse
Converts to this type from the input type.
sourceimpl PartialEq<AuthenticationResponse> for AuthenticationResponse
impl PartialEq<AuthenticationResponse> for AuthenticationResponse
sourcefn eq(&self, other: &AuthenticationResponse) -> bool
fn eq(&self, other: &AuthenticationResponse) -> bool
sourceimpl Serialize for AuthenticationResponse
impl Serialize for AuthenticationResponse
impl Eq for AuthenticationResponse
impl StructuralEq for AuthenticationResponse
impl StructuralPartialEq for AuthenticationResponse
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationResponse
impl Send for AuthenticationResponse
impl Sync for AuthenticationResponse
impl Unpin for AuthenticationResponse
impl UnwindSafe for AuthenticationResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more