pub struct AuthenticatorValidationChallengeResponseRequest {
pub component: Option<String>,
pub selected_challenge: Option<Box<DeviceChallengeRequest>>,
pub selected_stage: Option<String>,
pub code: Option<String>,
pub webauthn: Option<HashMap<String, Value>>,
pub duo: Option<i32>,
}
Expand description
AuthenticatorValidationChallengeResponseRequest : Challenge used for Code-based and WebAuthn authenticators
Fields§
§component: Option<String>
§selected_challenge: Option<Box<DeviceChallengeRequest>>
§selected_stage: Option<String>
§code: Option<String>
§webauthn: Option<HashMap<String, Value>>
§duo: Option<i32>
Implementations§
Source§impl AuthenticatorValidationChallengeResponseRequest
impl AuthenticatorValidationChallengeResponseRequest
Sourcepub fn new() -> AuthenticatorValidationChallengeResponseRequest
pub fn new() -> AuthenticatorValidationChallengeResponseRequest
Challenge used for Code-based and WebAuthn authenticators
Trait Implementations§
Source§impl Clone for AuthenticatorValidationChallengeResponseRequest
impl Clone for AuthenticatorValidationChallengeResponseRequest
Source§fn clone(&self) -> AuthenticatorValidationChallengeResponseRequest
fn clone(&self) -> AuthenticatorValidationChallengeResponseRequest
Returns a duplicate 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 Default for AuthenticatorValidationChallengeResponseRequest
impl Default for AuthenticatorValidationChallengeResponseRequest
Source§fn default() -> AuthenticatorValidationChallengeResponseRequest
fn default() -> AuthenticatorValidationChallengeResponseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorValidationChallengeResponseRequest
impl<'de> Deserialize<'de> for AuthenticatorValidationChallengeResponseRequest
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 PartialEq for AuthenticatorValidationChallengeResponseRequest
impl PartialEq for AuthenticatorValidationChallengeResponseRequest
Source§fn eq(&self, other: &AuthenticatorValidationChallengeResponseRequest) -> bool
fn eq(&self, other: &AuthenticatorValidationChallengeResponseRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorValidationChallengeResponseRequest
Auto Trait Implementations§
impl Freeze for AuthenticatorValidationChallengeResponseRequest
impl RefUnwindSafe for AuthenticatorValidationChallengeResponseRequest
impl Send for AuthenticatorValidationChallengeResponseRequest
impl Sync for AuthenticatorValidationChallengeResponseRequest
impl Unpin for AuthenticatorValidationChallengeResponseRequest
impl UnwindSafe for AuthenticatorValidationChallengeResponseRequest
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