pub enum ValidationError {
OutOfScope,
Invalid,
}Variants§
OutOfScope
DateTime not covered by this library, eg. 01/01/1000 00:00:00:000, 01/01/5000 00:00:00:000
Invalid
Invalid DateTime, eg. 32/13/2000 66:66:66:6666, 29/02/2021 10:10:10:000 (non leap year)
Trait Implementations§
Source§impl Debug for ValidationError
impl Debug for ValidationError
Source§impl PartialEq for ValidationError
impl PartialEq for ValidationError
Source§fn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidationError
impl StructuralPartialEq for ValidationError
Auto Trait Implementations§
impl Freeze for ValidationError
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnsafeUnpin for ValidationError
impl UnwindSafe for ValidationError
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