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