pub struct CloneGroup {
pub content_key: u64,
pub clone_type: CloneClass,
pub score: f64,
pub members: Vec<Instance>,
pub entropy_bits: f64,
pub suppressed: Option<SuppressReason>,
}Expand description
A set of instances sharing identical matched content.
Fields§
§content_key: u64Compact content key retained for deterministic presentation ordering.
clone_type: CloneClassClone classification: Type-2 if any member differs in raw text.
score: f64Minimum pairwise raw-text similarity across the group (1.0 for Type-1).
members: Vec<Instance>Deduplicated instances, sorted by (file, token range); the first
member is the canonical instance.
entropy_bits: f64Shannon entropy of the content’s normalized-token distribution.
suppressed: Option<SuppressReason>Noise marker, if a suppression signal fired. The group is still reported; presentation decides what to do with marked groups.
Trait Implementations§
Source§impl Clone for CloneGroup
impl Clone for CloneGroup
Source§fn clone(&self) -> CloneGroup
fn clone(&self) -> CloneGroup
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 moreAuto Trait Implementations§
impl Freeze for CloneGroup
impl RefUnwindSafe for CloneGroup
impl Send for CloneGroup
impl Sync for CloneGroup
impl Unpin for CloneGroup
impl UnsafeUnpin for CloneGroup
impl UnwindSafe for CloneGroup
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