pub struct DuplicateScanReport {
pub scope: MemoryScope,
pub project_key: Option<String>,
pub scanned: usize,
pub clustered: usize,
pub threshold: f64,
pub clusters: Vec<DuplicateCluster>,
}Expand description
Deterministic dedup prefilter report: clusters of near-duplicate active memories worth LLM-driven consolidation. Free to compute; the always-on, zero-cost half of the dedup gardener.
Fields§
§scope: MemoryScope§project_key: Option<String>§scanned: usize§clustered: usizeTotal active memories that landed in some cluster.
threshold: f64§clusters: Vec<DuplicateCluster>Trait Implementations§
Source§impl Clone for DuplicateScanReport
impl Clone for DuplicateScanReport
Source§fn clone(&self) -> DuplicateScanReport
fn clone(&self) -> DuplicateScanReport
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 DuplicateScanReport
impl Debug for DuplicateScanReport
Source§impl<'de> Deserialize<'de> for DuplicateScanReport
impl<'de> Deserialize<'de> for DuplicateScanReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DuplicateScanReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DuplicateScanReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DuplicateScanReport
impl PartialEq for DuplicateScanReport
Source§impl Serialize for DuplicateScanReport
impl Serialize for DuplicateScanReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DuplicateScanReport
Auto Trait Implementations§
impl Freeze for DuplicateScanReport
impl RefUnwindSafe for DuplicateScanReport
impl Send for DuplicateScanReport
impl Sync for DuplicateScanReport
impl Unpin for DuplicateScanReport
impl UnsafeUnpin for DuplicateScanReport
impl UnwindSafe for DuplicateScanReport
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