pub struct ImportSummary {
pub imported: usize,
pub deduped: usize,
pub superseded: usize,
pub quarantined: usize,
}Expand description
Summary returned by import_memories / import_pack.
Fields§
§imported: usizeMemories that were actually written (new rows).
deduped: usizeEntries that were skipped because an identical memory already existed
(detected by add_memory’s normalized-text dedup) or because the
scope/kind was malformed.
superseded: usizev2.6 #4: memories superseded by a replace-mode pack install (existing
active memories in the pack’s scope(s), invalidated before the load).
quarantined: usizev2.6: entries routed into the review queue instead of the retrieval
pool. See quarantine_memories.
Trait Implementations§
Source§impl Clone for ImportSummary
impl Clone for ImportSummary
Source§fn clone(&self) -> ImportSummary
fn clone(&self) -> ImportSummary
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 ImportSummary
impl Debug for ImportSummary
Source§impl Default for ImportSummary
impl Default for ImportSummary
Source§fn default() -> ImportSummary
fn default() -> ImportSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportSummary
impl RefUnwindSafe for ImportSummary
impl Send for ImportSummary
impl Sync for ImportSummary
impl Unpin for ImportSummary
impl UnsafeUnpin for ImportSummary
impl UnwindSafe for ImportSummary
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