pub enum DateValue {
At(Datetime),
After(Datetime),
Before(Datetime),
Between(Datetime, Datetime),
}
Expand description
A single date or a range of dates.
Variants§
At(Datetime)
A single date.
After(Datetime)
A range of dates with known start, but open end.
Before(Datetime)
A range of dates with open start, but known end.
Between(Datetime, Datetime)
A range of dates with known start and end.
Trait Implementations§
source§impl PartialEq for DateValue
impl PartialEq for DateValue
impl Copy for DateValue
impl Eq for DateValue
impl StructuralEq for DateValue
impl StructuralPartialEq for DateValue
Auto Trait Implementations§
impl RefUnwindSafe for DateValue
impl Send for DateValue
impl Sync for DateValue
impl Unpin for DateValue
impl UnwindSafe for DateValue
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