pub enum ValidationLevel {
None,
Basic,
Strict,
Custom,
}
Expand description
Validation level for controlling strictness
Variants§
None
No validation
Basic
Basic format validation only
Strict
Strict validation with all rules
Custom
Custom validation level
Trait Implementations§
Source§impl Clone for ValidationLevel
impl Clone for ValidationLevel
Source§fn clone(&self) -> ValidationLevel
fn clone(&self) -> ValidationLevel
Returns a duplicate 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 ValidationLevel
impl Debug for ValidationLevel
Source§impl<'de> Deserialize<'de> for ValidationLevel
impl<'de> Deserialize<'de> for ValidationLevel
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
Source§impl PartialEq for ValidationLevel
impl PartialEq for ValidationLevel
Source§impl Serialize for ValidationLevel
impl Serialize for ValidationLevel
impl Copy for ValidationLevel
impl Eq for ValidationLevel
impl StructuralPartialEq for ValidationLevel
Auto Trait Implementations§
impl Freeze for ValidationLevel
impl RefUnwindSafe for ValidationLevel
impl Send for ValidationLevel
impl Sync for ValidationLevel
impl Unpin for ValidationLevel
impl UnwindSafe for ValidationLevel
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