pub struct GraphBuildSummary {
pub active_memories: usize,
pub rule_edges: usize,
pub enrich_edges: usize,
pub written: usize,
pub by_type: BTreeMap<String, usize>,
pub dry_run: bool,
}Expand description
Summary of a kimetsu brain graph build run.
Fields§
§active_memories: usizeActive (non-invalidated, non-superseded) memories scanned.
rule_edges: usizeRule-derived relates_to edges proposed.
enrich_edges: usizeEnrichment (LLM typed) edges proposed by the caller.
written: usizeEdges actually written (0 when dry_run).
by_type: BTreeMap<String, usize>Proposed edge counts grouped by edge_type (rule + enrichment, pre-write).
dry_run: boolTrue when no edges were persisted (preview only).
Trait Implementations§
Source§impl Clone for GraphBuildSummary
impl Clone for GraphBuildSummary
Source§fn clone(&self) -> GraphBuildSummary
fn clone(&self) -> GraphBuildSummary
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 GraphBuildSummary
impl Debug for GraphBuildSummary
Source§impl Default for GraphBuildSummary
impl Default for GraphBuildSummary
Source§fn default() -> GraphBuildSummary
fn default() -> GraphBuildSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphBuildSummary
impl<'de> Deserialize<'de> for GraphBuildSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphBuildSummary
impl RefUnwindSafe for GraphBuildSummary
impl Send for GraphBuildSummary
impl Sync for GraphBuildSummary
impl Unpin for GraphBuildSummary
impl UnsafeUnpin for GraphBuildSummary
impl UnwindSafe for GraphBuildSummary
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