pub enum TemporalKeyword {
Show 16 variants
Now,
Today,
Tomorrow,
Yesterday,
StartOfDay,
EndOfDay,
StartOfWeek,
EndOfWeek,
StartOfMonth,
EndOfMonth,
StartOfQuarter,
EndOfQuarter,
StartOfYear,
EndOfYear,
BeginningOfTime,
EndOfTime,
}Expand description
Temporal keywords for date/time operations
Variants§
Now
Current date and time
Today
Current date (start of day)
Tomorrow
Next calendar day
Yesterday
Previous calendar day
StartOfDay
Start of current day
EndOfDay
End of current day
StartOfWeek
Start of current week
EndOfWeek
End of current week
StartOfMonth
Start of current month
EndOfMonth
End of current month
StartOfQuarter
Start of current quarter
EndOfQuarter
End of current quarter
StartOfYear
Start of current year
EndOfYear
End of current year
BeginningOfTime
Beginning of time (used for range checking)
EndOfTime
End of time (used for range checking)
Trait Implementations§
Source§impl Clone for TemporalKeyword
impl Clone for TemporalKeyword
Source§fn clone(&self) -> TemporalKeyword
fn clone(&self) -> TemporalKeyword
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 TemporalKeyword
impl Debug for TemporalKeyword
Source§impl PartialEq for TemporalKeyword
impl PartialEq for TemporalKeyword
impl Copy for TemporalKeyword
impl Eq for TemporalKeyword
impl StructuralPartialEq for TemporalKeyword
Auto Trait Implementations§
impl Freeze for TemporalKeyword
impl RefUnwindSafe for TemporalKeyword
impl Send for TemporalKeyword
impl Sync for TemporalKeyword
impl Unpin for TemporalKeyword
impl UnwindSafe for TemporalKeyword
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