pub struct AuthenticatorValidationChallenge {
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 device_challenges: Vec<DeviceChallenge>,
pub configuration_stages: Vec<SelectableStage>,
}
Expand description
AuthenticatorValidationChallenge : Authenticator 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
§device_challenges: Vec<DeviceChallenge>
§configuration_stages: Vec<SelectableStage>
Implementations§
Source§impl AuthenticatorValidationChallenge
impl AuthenticatorValidationChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
device_challenges: Vec<DeviceChallenge>,
configuration_stages: Vec<SelectableStage>,
) -> AuthenticatorValidationChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, device_challenges: Vec<DeviceChallenge>, configuration_stages: Vec<SelectableStage>, ) -> AuthenticatorValidationChallenge
Authenticator challenge
Trait Implementations§
Source§impl Clone for AuthenticatorValidationChallenge
impl Clone for AuthenticatorValidationChallenge
Source§fn clone(&self) -> AuthenticatorValidationChallenge
fn clone(&self) -> AuthenticatorValidationChallenge
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 AuthenticatorValidationChallenge
impl Default for AuthenticatorValidationChallenge
Source§fn default() -> AuthenticatorValidationChallenge
fn default() -> AuthenticatorValidationChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorValidationChallenge
impl<'de> Deserialize<'de> for AuthenticatorValidationChallenge
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 AuthenticatorValidationChallenge
impl PartialEq for AuthenticatorValidationChallenge
Source§fn eq(&self, other: &AuthenticatorValidationChallenge) -> bool
fn eq(&self, other: &AuthenticatorValidationChallenge) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorValidationChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorValidationChallenge
impl RefUnwindSafe for AuthenticatorValidationChallenge
impl Send for AuthenticatorValidationChallenge
impl Sync for AuthenticatorValidationChallenge
impl Unpin for AuthenticatorValidationChallenge
impl UnwindSafe for AuthenticatorValidationChallenge
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