pub struct DuplicateSet {
pub fingerprint: String,
pub kind: GroupKind,
pub label: String,
pub project: String,
pub group_ids: Vec<String>,
pub footprint: Measured<Bytes>,
pub extra_footprint: Measured<Bytes>,
}Expand description
More than one live instance of the same fingerprint in the same project directory.
Fields§
§fingerprint: String§kind: GroupKind§label: String§project: String§group_ids: Vec<String>Instances, oldest first (the first one is the likely keeper).
footprint: Measured<Bytes>Σ footprint of all instances.
extra_footprint: Measured<Bytes>Σ footprint of every instance but the largest: what stopping the extras would give back at most.
Trait Implementations§
Source§impl Clone for DuplicateSet
impl Clone for DuplicateSet
Source§impl Debug for DuplicateSet
impl Debug for DuplicateSet
Source§impl Default for DuplicateSet
impl Default for DuplicateSet
Source§impl<'de> Deserialize<'de> for DuplicateSetwhere
DuplicateSet: Default,
impl<'de> Deserialize<'de> for DuplicateSetwhere
DuplicateSet: Default,
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
Source§impl PartialEq for DuplicateSet
impl PartialEq for DuplicateSet
Source§impl Serialize for DuplicateSet
impl Serialize for DuplicateSet
impl StructuralPartialEq for DuplicateSet
Auto Trait Implementations§
impl Forget for DuplicateSet
impl Freeze for DuplicateSet
impl Move for DuplicateSet
impl RefUnwindSafe for DuplicateSetwhere
String: RefUnwindSafe,
impl Send for DuplicateSet
impl Sync for DuplicateSet
impl Unpin for DuplicateSet
impl UnsafeUnpin for DuplicateSetwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
impl UnwindSafe for DuplicateSet
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