pub struct DuplicateGroup {
pub members: Vec<(String, String)>,
pub detected_by: DetectionKinds,
pub label_conflict: bool,
}Expand description
One connected component of duplicate content spanning at least two split roles.
Fields§
§members: Vec<(String, String)>(split_role, id) members, sorted ascending.
detected_by: DetectionKindsWhich detection kinds fired inside this component.
label_conflict: boolTrue when the members do not all carry the same label — impossible to reconcile automatically, and therefore worth surfacing rather than silently excluding.
Trait Implementations§
Source§impl Clone for DuplicateGroup
impl Clone for DuplicateGroup
Source§impl Debug for DuplicateGroup
impl Debug for DuplicateGroup
Source§impl<'de> Deserialize<'de> for DuplicateGroup
impl<'de> Deserialize<'de> for DuplicateGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DuplicateGroup
Source§impl PartialEq for DuplicateGroup
impl PartialEq for DuplicateGroup
Source§impl Serialize for DuplicateGroup
impl Serialize for DuplicateGroup
impl StructuralPartialEq for DuplicateGroup
Auto Trait Implementations§
impl Freeze for DuplicateGroup
impl RefUnwindSafe for DuplicateGroup
impl Send for DuplicateGroup
impl Sync for DuplicateGroup
impl Unpin for DuplicateGroup
impl UnsafeUnpin for DuplicateGroup
impl UnwindSafe for DuplicateGroup
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