pub struct CorpusHealth {
pub active: u64,
pub invalidated: u64,
pub by_scope: Vec<(String, u64)>,
pub by_kind: Vec<(String, u64)>,
pub top_useful: Vec<MemoryRef>,
pub prune_candidates: Vec<MemoryRef>,
pub open_conflicts: u64,
pub pending_proposals: u64,
pub invalidations_by_reason: Vec<(String, u64)>,
pub regret_flagged_count: u64,
}Expand description
C2 — corpus health snapshot.
Fields§
§active: u64§invalidated: u64§by_scope: Vec<(String, u64)>§by_kind: Vec<(String, u64)>§top_useful: Vec<MemoryRef>§prune_candidates: Vec<MemoryRef>§open_conflicts: u64§pending_proposals: u64§invalidations_by_reason: Vec<(String, u64)>F3 Story 3.4: invalidations grouped by structured reason. Empty when no memories have been invalidated.
regret_flagged_count: u64F3 Story 3.2: memories flagged for review due to repeated retrieval regrets. Only populated when there are memories above the regret threshold.
Trait Implementations§
Source§impl Clone for CorpusHealth
impl Clone for CorpusHealth
Source§fn clone(&self) -> CorpusHealth
fn clone(&self) -> CorpusHealth
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 CorpusHealth
impl Debug for CorpusHealth
Auto Trait Implementations§
impl Freeze for CorpusHealth
impl RefUnwindSafe for CorpusHealth
impl Send for CorpusHealth
impl Sync for CorpusHealth
impl Unpin for CorpusHealth
impl UnsafeUnpin for CorpusHealth
impl UnwindSafe for CorpusHealth
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