pub struct IdentificationChallenge {Show 13 fields
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub user_fields: Option<Vec<String>>,
pub password_fields: bool,
pub application_pre: Option<String>,
pub enroll_url: Option<String>,
pub recovery_url: Option<String>,
pub passwordless_url: Option<String>,
pub primary_action: String,
pub sources: Option<Vec<LoginSource>>,
pub show_source_labels: bool,
}
Expand description
IdentificationChallenge : Identification challenges with all UI elements
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§user_fields: Option<Vec<String>>
§password_fields: bool
§application_pre: Option<String>
§enroll_url: Option<String>
§recovery_url: Option<String>
§passwordless_url: Option<String>
§primary_action: String
§sources: Option<Vec<LoginSource>>
§show_source_labels: bool
Implementations§
Source§impl IdentificationChallenge
impl IdentificationChallenge
Sourcepub fn new(
type: ChallengeChoices,
user_fields: Option<Vec<String>>,
password_fields: bool,
primary_action: String,
show_source_labels: bool,
) -> IdentificationChallenge
pub fn new( type: ChallengeChoices, user_fields: Option<Vec<String>>, password_fields: bool, primary_action: String, show_source_labels: bool, ) -> IdentificationChallenge
Identification challenges with all UI elements
Trait Implementations§
Source§impl Clone for IdentificationChallenge
impl Clone for IdentificationChallenge
Source§fn clone(&self) -> IdentificationChallenge
fn clone(&self) -> IdentificationChallenge
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 Debug for IdentificationChallenge
impl Debug for IdentificationChallenge
Source§impl Default for IdentificationChallenge
impl Default for IdentificationChallenge
Source§fn default() -> IdentificationChallenge
fn default() -> IdentificationChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentificationChallenge
impl<'de> Deserialize<'de> for IdentificationChallenge
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 IdentificationChallenge
impl PartialEq for IdentificationChallenge
Source§impl Serialize for IdentificationChallenge
impl Serialize for IdentificationChallenge
impl StructuralPartialEq for IdentificationChallenge
Auto Trait Implementations§
impl Freeze for IdentificationChallenge
impl RefUnwindSafe for IdentificationChallenge
impl Send for IdentificationChallenge
impl Sync for IdentificationChallenge
impl Unpin for IdentificationChallenge
impl UnwindSafe for IdentificationChallenge
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