pub struct FormControl {Show 15 fields
pub id: String,
pub form_id: Option<String>,
pub group_id: Option<String>,
pub target: Option<FormControlTarget>,
pub control_kind: FormControlKind,
pub accessible_name: Option<String>,
pub label: Option<String>,
pub description: Option<String>,
pub placeholder: Option<String>,
pub autocomplete: Option<String>,
pub state: FormControlState,
pub constraints: FormControlConstraints,
pub validity: FormControlValidity,
pub options: Vec<FormOption>,
pub supported_operations: Vec<FormControlOperation>,
}Fields§
§id: String§form_id: Option<String>§group_id: Option<String>§target: Option<FormControlTarget>§control_kind: FormControlKind§accessible_name: Option<String>§label: Option<String>Only serialized when it differs from accessibleName — the builder
collapses the label onto the accessible name at snapshot time, so a
fresh empty form costs ~200 bytes per control instead of ~740.
description: Option<String>§placeholder: Option<String>§autocomplete: Option<String>§state: FormControlState§constraints: FormControlConstraints§validity: FormControlValidity§options: Vec<FormOption>§supported_operations: Vec<FormControlOperation>Trait Implementations§
Source§impl Clone for FormControl
impl Clone for FormControl
Source§impl Debug for FormControl
impl Debug for FormControl
Source§impl<'de> Deserialize<'de> for FormControl
impl<'de> Deserialize<'de> for FormControl
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
impl Eq for FormControl
Source§impl PartialEq for FormControl
impl PartialEq for FormControl
Source§impl Serialize for FormControl
impl Serialize for FormControl
impl StructuralPartialEq for FormControl
Auto Trait Implementations§
impl Freeze for FormControl
impl RefUnwindSafe for FormControl
impl Send for FormControl
impl Sync for FormControl
impl Unpin for FormControl
impl UnsafeUnpin for FormControl
impl UnwindSafe for FormControl
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