pub struct ScoringConfig {
pub documentation_weight: f32,
pub error_handling_weight: f32,
pub style_weight: f32,
pub coverage_weight: f32,
pub complexity_weight: f32,
pub naming_weight: f32,
pub critical_threshold: f32,
pub warning_threshold: f32,
}Expand description
Scoring configuration
Fields§
§documentation_weight: f32Weight for documentation score
error_handling_weight: f32Weight for error handling score
style_weight: f32Weight for style score
coverage_weight: f32Weight for coverage score
complexity_weight: f32Weight for complexity score
naming_weight: f32Weight for naming conventions score
critical_threshold: f32Threshold for critical issues
warning_threshold: f32Threshold for warnings
Trait Implementations§
Source§impl Clone for ScoringConfig
impl Clone for ScoringConfig
Source§fn clone(&self) -> ScoringConfig
fn clone(&self) -> ScoringConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ScoringConfig
impl Debug for ScoringConfig
Source§impl Default for ScoringConfig
impl Default for ScoringConfig
Source§impl<'de> Deserialize<'de> for ScoringConfig
impl<'de> Deserialize<'de> for ScoringConfig
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 ScoringConfig
impl RefUnwindSafe for ScoringConfig
impl Send for ScoringConfig
impl Sync for ScoringConfig
impl Unpin for ScoringConfig
impl UnwindSafe for ScoringConfig
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