pub struct MdSubmit {
pub form: usize,
pub action: String,
pub method: String,
pub fields: Vec<(String, String)>,
pub button: Option<usize>,
}Expand description
a form being sent: what a browser would send (MdViewState::form_data)
Fields§
§form: usizethe form (index of doc().forms()), its action (as written) and method (“get” / “post”)
action: String§method: String§fields: Vec<(String, String)>the name / value pairs in document order
the submit button that sent it (None: Enter in a form without one)
Trait Implementations§
impl Eq for MdSubmit
impl StructuralPartialEq for MdSubmit
Auto Trait Implementations§
impl Forget for MdSubmit
impl Freeze for MdSubmit
impl RefUnwindSafe for MdSubmit
impl Send for MdSubmit
impl Sync for MdSubmit
impl Unpin for MdSubmit
impl UnsafeUnpin for MdSubmit
impl UnwindSafe for MdSubmit
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