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>§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§fn clone(&self) -> FormControl
fn clone(&self) -> FormControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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