pub enum TemporalBound {
AsOf(i64),
Since(i64),
AsOfSince {
as_of: i64,
since: i64,
},
}Expand description
A whole-query temporal bound (as-of / since), with Datomic’s meaning.
A current-state pattern sees datoms; a history pattern
([?e ?a ?v ?tx ?added]) sees the log, retractions too, with the same tx
bounds. See ConjoiningClauses::temporal.
Variants§
AsOf(i64)
The state as of transaction T: assertions with tx <= T that no
retraction at or before T cancels. History: tx <= T.
Since(i64)
The current datoms transacted after T: assertions with tx > T that
no retraction cancels. History: tx > T.
AsOfSince
Both ((since (as-of db T) S)): assertions with since < tx <= as_of
that no retraction at or before as_of cancels. History:
since < tx <= as_of.
Implementations§
Trait Implementations§
Source§impl Clone for TemporalBound
impl Clone for TemporalBound
Source§fn clone(&self) -> TemporalBound
fn clone(&self) -> TemporalBound
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TemporalBound
Source§impl Debug for TemporalBound
impl Debug for TemporalBound
impl Eq for TemporalBound
Source§impl PartialEq for TemporalBound
impl PartialEq for TemporalBound
impl StructuralPartialEq for TemporalBound
Auto Trait Implementations§
impl Freeze for TemporalBound
impl RefUnwindSafe for TemporalBound
impl Send for TemporalBound
impl Sync for TemporalBound
impl Unpin for TemporalBound
impl UnsafeUnpin for TemporalBound
impl UnwindSafe for TemporalBound
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more