pub struct EdgeRef {
pub kind: String,
pub provenance: &'static str,
pub confidence: Option<f64>,
pub node: String,
}Expand description
One end of an edge as seen from a subject node: the relationship, how it was produced, and the node on the other end.
Fields§
§kind: StringEdge kind token (e.g. calls, references).
provenance: &'static strHow the edge was produced (derived | authored | inferred).
confidence: Option<f64>Confidence score, present only for inferred edges.
node: StringThe natural key of the node at the other end.
Trait Implementations§
impl StructuralPartialEq for EdgeRef
Auto Trait Implementations§
impl Freeze for EdgeRef
impl RefUnwindSafe for EdgeRef
impl Send for EdgeRef
impl Sync for EdgeRef
impl Unpin for EdgeRef
impl UnsafeUnpin for EdgeRef
impl UnwindSafe for EdgeRef
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