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