pub struct LanguageStyleGroup {
pub language_family: String,
pub files_count: u32,
pub dominant_guide: String,
pub dominant_score_pct: u8,
pub common_indent_style: String,
pub guide_avg_scores: Vec<(String, u8)>,
pub line80_compliant_pct: u8,
pub line_col_compliant_pct: u8,
}Expand description
Per-language-family style aggregation within a StyleSummary.
Fields§
§language_family: StringDisplay label, e.g. "C / C++", "Python", "JavaScript".
files_count: u32Number of files in this group.
dominant_guide: StringName of the guide with the highest average adherence.
dominant_score_pct: u8Average adherence of the dominant guide (0–100).
common_indent_style: StringMost common indent style across the group.
guide_avg_scores: Vec<(String, u8)>Average guide adherence scores (guide name, 0–100) sorted descending.
line80_compliant_pct: u8Percentage of files (0–100) where ≤ 5 % of lines exceed the configured column threshold.
line_col_compliant_pct: u8Same as line80_compliant_pct but named for the actual configured threshold.
Trait Implementations§
Source§impl Clone for LanguageStyleGroup
impl Clone for LanguageStyleGroup
Source§fn clone(&self) -> LanguageStyleGroup
fn clone(&self) -> LanguageStyleGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanguageStyleGroup
impl Debug for LanguageStyleGroup
Source§impl<'de> Deserialize<'de> for LanguageStyleGroup
impl<'de> Deserialize<'de> for LanguageStyleGroup
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 LanguageStyleGroup
impl RefUnwindSafe for LanguageStyleGroup
impl Send for LanguageStyleGroup
impl Sync for LanguageStyleGroup
impl Unpin for LanguageStyleGroup
impl UnsafeUnpin for LanguageStyleGroup
impl UnwindSafe for LanguageStyleGroup
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