pub struct GraphEvidenceNode {
pub id: String,
pub kind: String,
pub label: String,
pub source_refs: Vec<String>,
pub provenance_systems: Vec<String>,
pub incident_edge_count: usize,
}Expand description
One matched node in the evidence report. Provenance fields are flattened
out of GraphNode::provenance for easy caller consumption — agents want
source_ref and source_system directly, not a nested provenance chain.
Fields§
§id: String§kind: String§label: String§source_refs: Vec<String>§provenance_systems: Vec<String>§incident_edge_count: usizeNumber of edges in the store that reference this node id on either side. Cheap connectivity proxy used for ranking.
Implementations§
Trait Implementations§
Source§impl Clone for GraphEvidenceNode
impl Clone for GraphEvidenceNode
Source§fn clone(&self) -> GraphEvidenceNode
fn clone(&self) -> GraphEvidenceNode
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 moreSource§impl Debug for GraphEvidenceNode
impl Debug for GraphEvidenceNode
impl Eq for GraphEvidenceNode
Source§impl PartialEq for GraphEvidenceNode
impl PartialEq for GraphEvidenceNode
Source§impl Serialize for GraphEvidenceNode
impl Serialize for GraphEvidenceNode
impl StructuralPartialEq for GraphEvidenceNode
Auto Trait Implementations§
impl Freeze for GraphEvidenceNode
impl RefUnwindSafe for GraphEvidenceNode
impl Send for GraphEvidenceNode
impl Sync for GraphEvidenceNode
impl Unpin for GraphEvidenceNode
impl UnsafeUnpin for GraphEvidenceNode
impl UnwindSafe for GraphEvidenceNode
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.