pub enum AutovalidateMode {
Disabled,
Always,
OnUserInteraction,
OnUnfocus,
OnUserInteractionIfError,
}Variants§
Disabled
No auto validation will occur.
Always
OnUserInteraction
OnUnfocus
Used to auto-validate Form and FormField only after the field has lost focus.
In order to validate all fields of a Form after the first time the user interacts
with one, use Always instead.
OnUserInteractionIfError
Trait Implementations§
Source§impl Clone for AutovalidateMode
impl Clone for AutovalidateMode
impl Copy for AutovalidateMode
Source§impl Debug for AutovalidateMode
impl Debug for AutovalidateMode
impl Eq for AutovalidateMode
Source§impl PartialEq for AutovalidateMode
impl PartialEq for AutovalidateMode
impl StructuralPartialEq for AutovalidateMode
Auto Trait Implementations§
impl Forget for AutovalidateMode
impl Freeze for AutovalidateMode
impl Move for AutovalidateMode
impl RefUnwindSafe for AutovalidateMode
impl Send for AutovalidateMode
impl Sync for AutovalidateMode
impl Unpin for AutovalidateMode
impl UnsafeUnpin for AutovalidateMode
impl UnwindSafe for AutovalidateMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.