pub struct HealthSectionOptions {
pub output: OutputFormat,
pub complexity: bool,
pub file_scores: bool,
pub coverage_gaps: bool,
pub hotspots: bool,
pub targets: bool,
pub css: bool,
pub score: bool,
pub score_gate: bool,
pub snapshot_requested: bool,
pub trend: bool,
}Expand description
Input for deriving effective health sections from API-owned flags.
Fields§
§output: OutputFormatRequested output format; Badge implies the score section.
complexity: boolThe complexity findings section was requested.
file_scores: boolThe per-file score section was requested.
coverage_gaps: boolThe coverage-gap section was requested.
hotspots: boolThe churn hotspot section was requested.
targets: boolThe refactoring targets section was requested.
css: boolCSS / styling health was requested.
score: boolThe overall health score was requested.
score_gate: boolA score gate is active; implies the score section.
snapshot_requested: boolA snapshot write was requested; forces full hidden inputs.
trend: boolTrend output was requested; implies score and hotspot inputs.
Trait Implementations§
Source§impl Clone for HealthSectionOptions
impl Clone for HealthSectionOptions
Auto Trait Implementations§
impl Freeze for HealthSectionOptions
impl RefUnwindSafe for HealthSectionOptions
impl Send for HealthSectionOptions
impl Sync for HealthSectionOptions
impl Unpin for HealthSectionOptions
impl UnsafeUnpin for HealthSectionOptions
impl UnwindSafe for HealthSectionOptions
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