pub struct DatedValue {
pub statement: StatementId,
pub value: Value,
pub valid_time: Edtf,
}Expand description
A value with when it held: Library::dated_values.
Fields§
§statement: StatementIdThe statement that holds it.
value: ValueThe value.
valid_time: EdtfWhen it was true: a date for something that happened, an interval for a state.
Trait Implementations§
Source§impl Clone for DatedValue
impl Clone for DatedValue
Source§impl Debug for DatedValue
impl Debug for DatedValue
impl Eq for DatedValue
Source§impl PartialEq for DatedValue
impl PartialEq for DatedValue
impl StructuralPartialEq for DatedValue
Auto Trait Implementations§
impl Forget for DatedValue
impl Freeze for DatedValue
impl Move for DatedValue
impl RefUnwindSafe for DatedValue
impl Send for DatedValue
impl Sync for DatedValue
impl Unpin for DatedValue
impl UnsafeUnpin for DatedValue
impl UnwindSafe for DatedValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.