pub struct ValidWindow {
pub from: DateTime<Utc>,
pub to: Option<DateTime<Utc>>,
}Expand description
Valid-time interval of an indexed event. from is the effective start
(valid_from, or record time when unset); to is None when open-ended.
Fields§
§from: DateTime<Utc>§to: Option<DateTime<Utc>>Implementations§
Trait Implementations§
Source§impl Clone for ValidWindow
impl Clone for ValidWindow
impl Copy for ValidWindow
Source§impl Debug for ValidWindow
impl Debug for ValidWindow
impl Eq for ValidWindow
Source§impl PartialEq for ValidWindow
impl PartialEq for ValidWindow
impl StructuralPartialEq for ValidWindow
Auto Trait Implementations§
impl Forget for ValidWindow
impl Freeze for ValidWindow
impl Move for ValidWindow
impl RefUnwindSafe for ValidWindow
impl Send for ValidWindow
impl Sync for ValidWindow
impl Unpin for ValidWindow
impl UnsafeUnpin for ValidWindow
impl UnwindSafe for ValidWindow
Blanket Implementations§
impl<T> Allocation for T
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§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.