pub enum ValidationErrorType {
Required,
TooLong,
TooShort,
InvalidFormat,
InvalidCharacters,
AlreadyExists,
SecurityRisk,
InvalidRange,
InvalidTimestamp,
}
Expand description
Types of validation errors
Variants§
Required
TooLong
TooShort
InvalidFormat
InvalidCharacters
AlreadyExists
SecurityRisk
InvalidRange
InvalidTimestamp
Trait Implementations§
Source§impl Clone for ValidationErrorType
impl Clone for ValidationErrorType
Source§fn clone(&self) -> ValidationErrorType
fn clone(&self) -> ValidationErrorType
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 ValidationErrorType
impl Debug for ValidationErrorType
Source§impl PartialEq for ValidationErrorType
impl PartialEq for ValidationErrorType
impl StructuralPartialEq for ValidationErrorType
Auto Trait Implementations§
impl Freeze for ValidationErrorType
impl RefUnwindSafe for ValidationErrorType
impl Send for ValidationErrorType
impl Sync for ValidationErrorType
impl Unpin for ValidationErrorType
impl UnwindSafe for ValidationErrorType
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