pub struct DiscoveredForm {
pub action_url: String,
pub method: String,
pub fields: Vec<(String, String)>,
}Expand description
Form discovered from HTML.
Contains enough metadata for the navigation engine to know what data a form expects and where it submits, without needing to render the page.
Fields§
§action_url: StringForm action URL (may be relative).
method: StringHTTP method (GET or POST).
fields: Vec<(String, String)>Field (name, type) pairs for every <input>, <select>, and
<textarea> inside the form.
Trait Implementations§
Source§impl Clone for DiscoveredForm
impl Clone for DiscoveredForm
Source§fn clone(&self) -> DiscoveredForm
fn clone(&self) -> DiscoveredForm
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredForm
impl RefUnwindSafe for DiscoveredForm
impl Send for DiscoveredForm
impl Sync for DiscoveredForm
impl Unpin for DiscoveredForm
impl UnsafeUnpin for DiscoveredForm
impl UnwindSafe for DiscoveredForm
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