pub struct HtmlForm {
pub action_url: String,
pub method: String,
pub fields: HashMap<String, String>,
}Expand description
A parsed HTML form with action URL and fields.
Fields§
§action_url: StringThe URL the form posts to.
method: StringHTTP method (usually POST).
fields: HashMap<String, String>All form fields: name → value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HtmlForm
impl<'de> Deserialize<'de> for HtmlForm
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
Auto Trait Implementations§
impl Freeze for HtmlForm
impl RefUnwindSafe for HtmlForm
impl Send for HtmlForm
impl Sync for HtmlForm
impl Unpin for HtmlForm
impl UnsafeUnpin for HtmlForm
impl UnwindSafe for HtmlForm
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