Enum config_it::config::entity::Validation
source · pub enum Validation {
Valid,
Modified,
}Expand description
Validation result.
Variants§
Valid
Data was valid. No change was made.
Modified
Data was valid. Value was modified to satisfy validator constraint.
Trait Implementations§
source§impl Clone for Validation
impl Clone for Validation
source§fn clone(&self) -> Validation
fn clone(&self) -> Validation
Returns a copy of the value. Read more
1.0.0 · 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 Validation
impl Debug for Validation
source§impl PartialEq<Validation> for Validation
impl PartialEq<Validation> for Validation
source§fn eq(&self, other: &Validation) -> bool
fn eq(&self, other: &Validation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Validation
impl Eq for Validation
impl StructuralEq for Validation
impl StructuralPartialEq for Validation
Auto Trait Implementations§
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnwindSafe for Validation
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