pub enum SemanticsValidationResult {
None,
Valid,
Invalid,
}Expand description
The validation result of a form field.
The type, shape, and correctness of the value is specific to the kind of form field used.
Variants§
None
The node has no validation information attached to it.
This is the default value.
Valid
The entered value is valid, and no error should be displayed to the user.
Invalid
The entered value is invalid, and an error message should be communicated to the user.
Trait Implementations§
Source§impl Clone for SemanticsValidationResult
impl Clone for SemanticsValidationResult
impl Copy for SemanticsValidationResult
Source§impl Debug for SemanticsValidationResult
impl Debug for SemanticsValidationResult
Source§impl Default for SemanticsValidationResult
impl Default for SemanticsValidationResult
impl Eq for SemanticsValidationResult
Source§impl Hash for SemanticsValidationResult
impl Hash for SemanticsValidationResult
impl StructuralPartialEq for SemanticsValidationResult
Auto Trait Implementations§
impl Forget for SemanticsValidationResult
impl Freeze for SemanticsValidationResult
impl Move for SemanticsValidationResult
impl RefUnwindSafe for SemanticsValidationResult
impl Send for SemanticsValidationResult
impl Sync for SemanticsValidationResult
impl Unpin for SemanticsValidationResult
impl UnsafeUnpin for SemanticsValidationResult
impl UnwindSafe for SemanticsValidationResult
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§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.