pub struct FormControlConstraints {
pub required: bool,
pub read_only: bool,
pub disabled: bool,
pub pattern: Option<String>,
pub min_length: Option<u32>,
pub max_length: Option<u32>,
pub min: Option<String>,
pub max: Option<String>,
pub step: Option<String>,
pub multiple: bool,
pub accept: Vec<String>,
}Fields§
§required: bool§read_only: bool§disabled: bool§pattern: Option<String>§min_length: Option<u32>§max_length: Option<u32>§min: Option<String>§max: Option<String>§step: Option<String>§multiple: bool§accept: Vec<String>Trait Implementations§
Source§impl Clone for FormControlConstraints
impl Clone for FormControlConstraints
Source§fn clone(&self) -> FormControlConstraints
fn clone(&self) -> FormControlConstraints
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 FormControlConstraints
impl Debug for FormControlConstraints
Source§impl<'de> Deserialize<'de> for FormControlConstraints
impl<'de> Deserialize<'de> for FormControlConstraints
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 FormControlConstraints
Source§impl PartialEq for FormControlConstraints
impl PartialEq for FormControlConstraints
Source§impl Serialize for FormControlConstraints
impl Serialize for FormControlConstraints
impl StructuralPartialEq for FormControlConstraints
Auto Trait Implementations§
impl Freeze for FormControlConstraints
impl RefUnwindSafe for FormControlConstraints
impl Send for FormControlConstraints
impl Sync for FormControlConstraints
impl Unpin for FormControlConstraints
impl UnsafeUnpin for FormControlConstraints
impl UnwindSafe for FormControlConstraints
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