pub struct AuditAttribution {
pub gate: AuditGate,
pub dead_code_introduced: usize,
pub dead_code_inherited: usize,
pub complexity_introduced: usize,
pub complexity_inherited: usize,
pub duplication_introduced: usize,
pub duplication_inherited: usize,
}Expand description
New-vs-inherited issue counts for audit.
Fields§
§gate: AuditGateConfigured gate: new-only fails only on introduced findings,
all also fails on inherited ones.
dead_code_introduced: usizeDead-code findings absent from the base snapshot.
dead_code_inherited: usizeDead-code findings already present in the base snapshot.
complexity_introduced: usizeComplexity findings absent from the base snapshot.
complexity_inherited: usizeComplexity findings already present in the base snapshot.
duplication_introduced: usizeClone groups absent from the base snapshot.
duplication_inherited: usizeClone groups already present in the base snapshot.
Trait Implementations§
Source§impl Clone for AuditAttribution
impl Clone for AuditAttribution
Source§impl Debug for AuditAttribution
impl Debug for AuditAttribution
Source§impl Default for AuditAttribution
impl Default for AuditAttribution
Auto Trait Implementations§
impl Freeze for AuditAttribution
impl RefUnwindSafe for AuditAttribution
impl Send for AuditAttribution
impl Sync for AuditAttribution
impl Unpin for AuditAttribution
impl UnsafeUnpin for AuditAttribution
impl UnwindSafe for AuditAttribution
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