pub struct PathHop {
pub kind: String,
pub provenance: &'static str,
pub confidence: Option<f64>,
pub direction: &'static str,
pub node: String,
}Expand description
One step along a Path: the edge traversed and the node it leads to.
Fields§
§kind: StringEdge kind token (e.g. calls, contains).
provenance: &'static strHow the edge was produced.
confidence: Option<f64>Confidence score, present only for inferred edges.
direction: &'static strThe direction the edge was traversed relative to the previous node
(outgoing = along the edge, incoming = against it).
node: StringThe natural key of the node this hop arrives at.
Trait Implementations§
impl StructuralPartialEq for PathHop
Auto Trait Implementations§
impl Freeze for PathHop
impl RefUnwindSafe for PathHop
impl Send for PathHop
impl Sync for PathHop
impl Unpin for PathHop
impl UnsafeUnpin for PathHop
impl UnwindSafe for PathHop
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