pub struct FormElement {
pub selector: String,
pub action: Option<String>,
pub method: String,
pub fields: Vec<FormField>,
pub has_file_upload: bool,
}
Fields§
§selector: String
§action: Option<String>
§method: String
§fields: Vec<FormField>
§has_file_upload: bool
Trait Implementations§
Source§impl Clone for FormElement
impl Clone for FormElement
Source§fn clone(&self) -> FormElement
fn clone(&self) -> FormElement
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 FormElement
impl Debug for FormElement
Source§impl<'de> Deserialize<'de> for FormElement
impl<'de> Deserialize<'de> for FormElement
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 FormElement
impl RefUnwindSafe for FormElement
impl Send for FormElement
impl Sync for FormElement
impl Unpin for FormElement
impl UnwindSafe for FormElement
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