pub struct EngineEdgeDelta {
pub rule: String,
pub src_key: String,
pub dst_key: String,
pub edge_type: String,
pub etype_sym: u32,
pub src_id: u32,
pub dst_id: u32,
pub fired: bool,
}Expand description
A single derived-edge fire or retract captured during a commit.
Populated inside [ProvSets::insert] / [ProvSets::remove] while graph
state is fully intact (before any tombstone step in DeleteNode).
String keys are resolved at capture time so they remain valid even after
node deletion.
Fields§
§rule: String§src_key: StringUser-facing source node key.
dst_key: StringUser-facing destination node key.
edge_type: StringEdge-type string.
etype_sym: u32Internal edge-type symbol (for edge_props weight lookup in db.rs).
src_id: u32Internal source node id (for edge_props weight lookup in db.rs).
dst_id: u32Internal destination node id (for edge_props weight lookup in db.rs).
fired: booltrue = edge was fired (added to provenance); false = retracted.
Trait Implementations§
Source§impl Clone for EngineEdgeDelta
impl Clone for EngineEdgeDelta
Source§fn clone(&self) -> EngineEdgeDelta
fn clone(&self) -> EngineEdgeDelta
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 moreAuto Trait Implementations§
impl Freeze for EngineEdgeDelta
impl RefUnwindSafe for EngineEdgeDelta
impl Send for EngineEdgeDelta
impl Sync for EngineEdgeDelta
impl Unpin for EngineEdgeDelta
impl UnsafeUnpin for EngineEdgeDelta
impl UnwindSafe for EngineEdgeDelta
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