#[non_exhaustive]pub enum RangeExpr {
LastWeek,
ThisWeek,
NextWeek,
LastMonth,
ThisMonth,
NextMonth,
LastYear,
ThisYear,
NextYear,
Quarter(i16, i8),
}Expand description
Range expression types for date range queries.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LastWeek
ThisWeek
NextWeek
LastMonth
ThisMonth
NextMonth
LastYear
ThisYear
NextYear
Quarter(i16, i8)
Trait Implementations§
impl StructuralPartialEq for RangeExpr
Auto Trait Implementations§
impl Freeze for RangeExpr
impl RefUnwindSafe for RangeExpr
impl Send for RangeExpr
impl Sync for RangeExpr
impl Unpin for RangeExpr
impl UnsafeUnpin for RangeExpr
impl UnwindSafe for RangeExpr
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