pub struct GraphValidationReport {
pub agent_id: String,
pub node_count: usize,
pub edge_count: usize,
pub dangling_edges: Vec<(String, String)>,
pub dangling_edge_details: Vec<DanglingEdgeDetail>,
pub cross_agent_boundary_edges: usize,
pub orphan_nodes: Vec<String>,
pub is_valid: bool,
}Expand description
Result of crate::SqliteGraphStore::validate_graph.
Fields§
§agent_id: String§node_count: usize§edge_count: usize§dangling_edges: Vec<(String, String)>(source_id, target_id) edge endpoint pairs that reference a missing node row.
dangling_edge_details: Vec<DanglingEdgeDetail>Same dangling rows as Self::dangling_edges, including edge label for diagnostics.
cross_agent_boundary_edges: usizeEdges that touch this agent’s node set on exactly one side while both node rows exist (often a shared/global neighbor or another agent’s node — informational, not invalid).
orphan_nodes: Vec<String>Node ids (for this agent) that do not appear in any edge as source or target.
is_valid: boolTrait Implementations§
Source§impl Clone for GraphValidationReport
impl Clone for GraphValidationReport
Source§fn clone(&self) -> GraphValidationReport
fn clone(&self) -> GraphValidationReport
Returns a duplicate of the value. Read more
1.0.0 · 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 GraphValidationReport
impl RefUnwindSafe for GraphValidationReport
impl Send for GraphValidationReport
impl Sync for GraphValidationReport
impl Unpin for GraphValidationReport
impl UnsafeUnpin for GraphValidationReport
impl UnwindSafe for GraphValidationReport
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