pub struct GraphEvidenceReport {
pub graph_db: String,
pub exists: bool,
pub scanned: bool,
pub total_nodes_in_db: usize,
pub total_edges_in_db: usize,
pub query: GraphEvidenceQuery,
pub matched_nodes: Vec<GraphEvidenceNode>,
}Expand description
Result of an evidence lookup. Always returned (errors only for unreadable
stores); a missing graph.db produces exists: false so callers can branch
without try/catching.
Fields§
§graph_db: String§exists: bool§scanned: boolWhether the full node/edge scan ran. false means either the store was
missing (exists: false) or it exceeded the bounded-scan cap (see
read_graph_evidence_bounded); in the latter case total_nodes_in_db
/ total_edges_in_db are still populated from the cheap graph_counts()
query but matched_nodes is empty.
total_nodes_in_db: usize§total_edges_in_db: usize§query: GraphEvidenceQuery§matched_nodes: Vec<GraphEvidenceNode>Trait Implementations§
Source§impl Clone for GraphEvidenceReport
impl Clone for GraphEvidenceReport
Source§fn clone(&self) -> GraphEvidenceReport
fn clone(&self) -> GraphEvidenceReport
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 GraphEvidenceReport
impl Debug for GraphEvidenceReport
Auto Trait Implementations§
impl Freeze for GraphEvidenceReport
impl RefUnwindSafe for GraphEvidenceReport
impl Send for GraphEvidenceReport
impl Sync for GraphEvidenceReport
impl Unpin for GraphEvidenceReport
impl UnsafeUnpin for GraphEvidenceReport
impl UnwindSafe for GraphEvidenceReport
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