pub struct FormField {
pub name: &'static str,
pub input: Input,
pub required: bool,
pub constraints: &'static [Constraint],
}Fields§
§name: &'static str§input: Input§required: bool§constraints: &'static [Constraint]Trait Implementations§
impl Copy for FormField
impl Eq for FormField
impl StructuralPartialEq for FormField
Auto Trait Implementations§
impl Forget for FormField
impl Freeze for FormField
impl RefUnwindSafe for FormField
impl Send for FormField
impl Sync for FormField
impl Unpin for FormField
impl UnsafeUnpin for FormField
impl UnwindSafe for FormField
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