pub struct CombinedDupesSection {
pub payload: DupesReportPayload,
pub baseline_staleness: Option<BaselineStaleness>,
}Expand description
Wire shape of the dupes section inside the bare combined envelope.
The section is the standalone payload plus the view of the loaded
duplication baseline. The standalone dupes envelope carries the same
baseline_staleness key at its root.
Fields§
§payload: DupesReportPayloadThe duplication payload, flattened into the section.
baseline_staleness: Option<BaselineStaleness>This run’s view of the loaded duplication baseline, present only when
--dupes-baseline loaded one. Read change_scoped before dividing
matched_entries by baseline_entries: a narrowed run can report
matched_entries: 0 on a healthy baseline.
Trait Implementations§
Source§impl Clone for CombinedDupesSection
impl Clone for CombinedDupesSection
Source§impl Debug for CombinedDupesSection
impl Debug for CombinedDupesSection
Auto Trait Implementations§
impl Freeze for CombinedDupesSection
impl RefUnwindSafe for CombinedDupesSection
impl Send for CombinedDupesSection
impl Sync for CombinedDupesSection
impl Unpin for CombinedDupesSection
impl UnsafeUnpin for CombinedDupesSection
impl UnwindSafe for CombinedDupesSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more