pub struct EmailChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
}
Expand description
EmailChallenge : Email challenge
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
Implementations§
Source§impl EmailChallenge
impl EmailChallenge
Sourcepub fn new(type: ChallengeChoices) -> EmailChallenge
pub fn new(type: ChallengeChoices) -> EmailChallenge
Email challenge
Trait Implementations§
Source§impl Clone for EmailChallenge
impl Clone for EmailChallenge
Source§fn clone(&self) -> EmailChallenge
fn clone(&self) -> EmailChallenge
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 EmailChallenge
impl Debug for EmailChallenge
Source§impl Default for EmailChallenge
impl Default for EmailChallenge
Source§fn default() -> EmailChallenge
fn default() -> EmailChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailChallenge
impl<'de> Deserialize<'de> for EmailChallenge
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 EmailChallenge
impl PartialEq for EmailChallenge
Source§impl Serialize for EmailChallenge
impl Serialize for EmailChallenge
impl StructuralPartialEq for EmailChallenge
Auto Trait Implementations§
impl Freeze for EmailChallenge
impl RefUnwindSafe for EmailChallenge
impl Send for EmailChallenge
impl Sync for EmailChallenge
impl Unpin for EmailChallenge
impl UnwindSafe for EmailChallenge
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