pub enum QueryTime {
At(Timestamp),
Local(DateTime),
Today(Time),
}Expand description
The time of a search.
Variants§
At(Timestamp)
An instant, like 2026-11-27T07:50:00+01:00.
Local(DateTime)
A date and time in the time zone of the stop, like
2026-11-27T07:50.
Today(Time)
A time of today in the time zone of the stop, like 07:50: today
also when the time has passed, never tomorrow.
Implementations§
Trait Implementations§
impl Copy for QueryTime
impl Eq for QueryTime
impl StructuralPartialEq for QueryTime
Auto Trait Implementations§
impl Forget for QueryTime
impl Freeze for QueryTime
impl Move for QueryTime
impl RefUnwindSafe for QueryTime
impl Send for QueryTime
impl Sync for QueryTime
impl Unpin for QueryTime
impl UnsafeUnpin for QueryTime
impl UnwindSafe for QueryTime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.