pub struct ScrubReport {
pub total: usize,
pub kinds: BTreeMap<String, usize>,
}Expand description
Export active memories as a vec of portable records.
scope and kind are optional filters; None means “all”.
redact strips the trailing (context: …) segment from each text.
redact_tags additionally strips the leading [tags: …] prefix.
Aggregate security-scrub findings across an export (no credentials / PII may
ship in a shareable pack). kinds maps each redaction kind to its count.
Fields§
§total: usize§kinds: BTreeMap<String, usize>Implementations§
Trait Implementations§
Source§impl Clone for ScrubReport
impl Clone for ScrubReport
Source§fn clone(&self) -> ScrubReport
fn clone(&self) -> ScrubReport
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 ScrubReport
impl Debug for ScrubReport
Source§impl Default for ScrubReport
impl Default for ScrubReport
Source§fn default() -> ScrubReport
fn default() -> ScrubReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrubReport
impl RefUnwindSafe for ScrubReport
impl Send for ScrubReport
impl Sync for ScrubReport
impl Unpin for ScrubReport
impl UnsafeUnpin for ScrubReport
impl UnwindSafe for ScrubReport
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