pub enum HisReadRange {
Today,
Yesterday,
Date(Date),
DateSpan {
start: Date,
end: Date,
},
DateTimeSpan {
start: DateTime,
end: DateTime,
},
SinceDateTime {
date_time: DateTime,
},
}Expand description
Represents the different time range queries that can be sent
as part of the hisRead Haystack operation.
Variants§
Today
Query for history values from today.
Yesterday
Query for history values from yesterday.
Date(Date)
Query for history values on a particular date.
DateSpan
Query for history values between two dates.
DateTimeSpan
Query for history values between two datetimes.
SinceDateTime
Query for history values since a particular datetime.
Trait Implementations§
Source§impl Clone for HisReadRange
impl Clone for HisReadRange
Source§fn clone(&self) -> HisReadRange
fn clone(&self) -> HisReadRange
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 HisReadRange
impl Debug for HisReadRange
Source§impl PartialEq for HisReadRange
impl PartialEq for HisReadRange
impl Eq for HisReadRange
impl StructuralPartialEq for HisReadRange
Auto Trait Implementations§
impl Freeze for HisReadRange
impl RefUnwindSafe for HisReadRange
impl Send for HisReadRange
impl Sync for HisReadRange
impl Unpin for HisReadRange
impl UnwindSafe for HisReadRange
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.