pub struct AuthenticatorWebAuthnChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub pending_user: String,
pub pending_user_avatar: String,
pub registration: HashMap<String, Value>,
}
Expand description
AuthenticatorWebAuthnChallenge : WebAuthn Challenge
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§pending_user: String
§pending_user_avatar: String
§registration: HashMap<String, Value>
Implementations§
Source§impl AuthenticatorWebAuthnChallenge
impl AuthenticatorWebAuthnChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
registration: HashMap<String, Value>,
) -> AuthenticatorWebAuthnChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, registration: HashMap<String, Value>, ) -> AuthenticatorWebAuthnChallenge
WebAuthn Challenge
Trait Implementations§
Source§impl Clone for AuthenticatorWebAuthnChallenge
impl Clone for AuthenticatorWebAuthnChallenge
Source§fn clone(&self) -> AuthenticatorWebAuthnChallenge
fn clone(&self) -> AuthenticatorWebAuthnChallenge
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 AuthenticatorWebAuthnChallenge
impl Default for AuthenticatorWebAuthnChallenge
Source§fn default() -> AuthenticatorWebAuthnChallenge
fn default() -> AuthenticatorWebAuthnChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorWebAuthnChallenge
impl<'de> Deserialize<'de> for AuthenticatorWebAuthnChallenge
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 AuthenticatorWebAuthnChallenge
impl PartialEq for AuthenticatorWebAuthnChallenge
Source§fn eq(&self, other: &AuthenticatorWebAuthnChallenge) -> bool
fn eq(&self, other: &AuthenticatorWebAuthnChallenge) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorWebAuthnChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorWebAuthnChallenge
impl RefUnwindSafe for AuthenticatorWebAuthnChallenge
impl Send for AuthenticatorWebAuthnChallenge
impl Sync for AuthenticatorWebAuthnChallenge
impl Unpin for AuthenticatorWebAuthnChallenge
impl UnwindSafe for AuthenticatorWebAuthnChallenge
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