pub struct Datom {
pub e: EntityId,
pub a: AttrId,
pub v: Value,
pub tx: TxId,
pub added: bool,
}Expand description
A single immutable fact assertion or retraction.
Fields§
§e: EntityIdEntity id.
a: AttrIdAttribute id.
v: ValueValue.
tx: TxIdTransaction id.
added: boolAssertion (true) or retraction (false).
Implementations§
Trait Implementations§
impl Eq for Datom
impl StructuralPartialEq for Datom
Auto Trait Implementations§
impl Freeze for Datom
impl RefUnwindSafe for Datom
impl Send for Datom
impl Sync for Datom
impl Unpin for Datom
impl UnsafeUnpin for Datom
impl UnwindSafe for Datom
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