pub struct GroupSnapshot {
pub key: String,
pub files_analyzed: usize,
pub vital_signs: VitalSigns,
pub counts: VitalSignsCounts,
pub score: Option<f64>,
pub grade: Option<String>,
pub severity_critical_count: usize,
pub hotspot_count: usize,
}Expand description
Stored metrics of one group.
Fields§
§key: StringGroup key produced by the resolver.
files_analyzed: usizeFiles in this group.
vital_signs: VitalSignsThe vital signs of this group.
counts: VitalSignsCountsRaw counts of this group for trend decomposition.
score: Option<f64>Group health score (0-100), when the run computed a score.
grade: Option<String>Group letter grade, when the run computed a score.
severity_critical_count: usizeCritical-severity findings in this group, before --top.
hotspot_count: usizeRanked hotspot entries in this group, before --top.
Trait Implementations§
Source§impl Clone for GroupSnapshot
impl Clone for GroupSnapshot
Source§impl Debug for GroupSnapshot
impl Debug for GroupSnapshot
Source§impl<'de> Deserialize<'de> for GroupSnapshot
impl<'de> Deserialize<'de> for GroupSnapshot
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GroupSnapshot
impl RefUnwindSafe for GroupSnapshot
impl Send for GroupSnapshot
impl Sync for GroupSnapshot
impl Unpin for GroupSnapshot
impl UnsafeUnpin for GroupSnapshot
impl UnwindSafe for GroupSnapshot
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