pub struct EdgeRecord {
pub from: SymbolId,
pub to: SymbolId,
pub at: ClockTime,
}Expand description
Supersession-family edge record. Shared shape for SUPERSEDES /
CORRECTS / STALE_PARENT / RECONFIRMS.
Fields§
§from: SymbolIdSource memory ID.
to: SymbolIdTarget memory ID.
at: ClockTimeTimestamp the edge was applied.
Trait Implementations§
Source§impl Clone for EdgeRecord
impl Clone for EdgeRecord
Source§fn clone(&self) -> EdgeRecord
fn clone(&self) -> EdgeRecord
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 EdgeRecord
impl Debug for EdgeRecord
Source§impl PartialEq for EdgeRecord
impl PartialEq for EdgeRecord
impl Copy for EdgeRecord
impl Eq for EdgeRecord
impl StructuralPartialEq for EdgeRecord
Auto Trait Implementations§
impl Freeze for EdgeRecord
impl RefUnwindSafe for EdgeRecord
impl Send for EdgeRecord
impl Sync for EdgeRecord
impl Unpin for EdgeRecord
impl UnsafeUnpin for EdgeRecord
impl UnwindSafe for EdgeRecord
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.