pub enum HealthSection {
Complexity,
VitalSigns,
Score,
FileScores,
CoverageGaps,
Hotspots,
Targets,
Trend,
RuntimeCoverage,
Css,
}Expand description
One health section that a run produced.
A section is in HealthReport::sections when the run computed it and
the report carries its result, also when that result is empty. The value
set is OPEN: a later release can add a section, so a consumer must accept
a token that it does not know.
Variants§
Complexity
The run lists the complexity findings in findings. An empty list then
means that no function above a threshold is left after the baseline.
Without this token, findings is empty because the run did not list
them, and summary.functions_above_threshold is the only count.
VitalSigns
vital_signs.
Score
health_score.
FileScores
file_scores.
CoverageGaps
coverage_gaps.
Hotspots
hotspots. The list can be empty when the run could not read the git
history; workspace_diagnostics then tells why.
Targets
targets.
Trend
health_trend.
RuntimeCoverage
runtime_coverage.
Css
css_analytics, styling_health and styling_findings.
Trait Implementations§
Source§impl Clone for HealthSection
impl Clone for HealthSection
impl Copy for HealthSection
Source§impl Debug for HealthSection
impl Debug for HealthSection
Source§impl<'de> Deserialize<'de> for HealthSection
impl<'de> Deserialize<'de> for HealthSection
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>,
impl Eq for HealthSection
Source§impl Ord for HealthSection
impl Ord for HealthSection
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for HealthSection
impl PartialEq for HealthSection
Source§impl PartialOrd for HealthSection
impl PartialOrd for HealthSection
Source§impl Serialize for HealthSection
impl Serialize for HealthSection
impl StructuralPartialEq for HealthSection
Auto Trait Implementations§
impl Freeze for HealthSection
impl RefUnwindSafe for HealthSection
impl Send for HealthSection
impl Sync for HealthSection
impl Unpin for HealthSection
impl UnsafeUnpin for HealthSection
impl UnwindSafe for HealthSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.