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