pub struct Edge {
pub edge_id: String,
pub edge_type: String,
pub source_id: String,
pub target_id: String,
pub properties: BTreeMap<String, Value>,
pub property_clocks: HashMap<String, LamportClock>,
pub last_clock: LamportClock,
pub last_add_clock: LamportClock,
pub tombstoned: bool,
}Expand description
A materialized edge in the graph.
Fields§
§edge_id: String§edge_type: String§source_id: String§target_id: String§properties: BTreeMap<String, Value>§property_clocks: HashMap<String, LamportClock>Per-property clocks for LWW conflict resolution.
last_clock: LamportClock§last_add_clock: LamportClockClock of the most recent AddEdge for this edge.
tombstoned: boolTrait Implementations§
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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