pub struct DerivedComplexityOptions {
pub any_section: bool,
pub complexity: bool,
pub file_scores: bool,
pub coverage_gaps: bool,
pub hotspots: bool,
pub ownership: bool,
pub targets: bool,
pub force_full: bool,
pub score_only_output: bool,
pub score: bool,
}Expand description
Derived section selection for programmatic health / complexity runs.
Fields§
§any_section: boolAt least one section was explicitly requested.
complexity: boolEmit the complexity findings section.
file_scores: boolCompute the per-file score section.
coverage_gaps: boolEmit the coverage-gap section.
hotspots: boolCompute the churn hotspot section.
ownership: boolInclude ownership data with hotspots.
targets: boolEmit the refactoring targets section.
force_full: boolCompute full inputs even for sections that are not emitted.
score_only_output: boolOnly the score should be printed.
score: boolCompute the overall health score.
Trait Implementations§
Source§impl Clone for DerivedComplexityOptions
impl Clone for DerivedComplexityOptions
impl Copy for DerivedComplexityOptions
Source§impl Debug for DerivedComplexityOptions
impl Debug for DerivedComplexityOptions
impl Eq for DerivedComplexityOptions
Source§impl PartialEq for DerivedComplexityOptions
impl PartialEq for DerivedComplexityOptions
impl StructuralPartialEq for DerivedComplexityOptions
Auto Trait Implementations§
impl Freeze for DerivedComplexityOptions
impl RefUnwindSafe for DerivedComplexityOptions
impl Send for DerivedComplexityOptions
impl Sync for DerivedComplexityOptions
impl Unpin for DerivedComplexityOptions
impl UnsafeUnpin for DerivedComplexityOptions
impl UnwindSafe for DerivedComplexityOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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