pub struct ReviewConfig {
pub check_quality: bool,
pub check_compliance: bool,
pub generate_suggestions: bool,
pub min_quality_score: f32,
pub min_compliance_score: f32,
}Expand description
Configuration for code review
Fields§
§check_quality: boolWhether to check code quality metrics
check_compliance: boolWhether to check spec compliance
generate_suggestions: boolWhether to generate suggestions
min_quality_score: f32Minimum quality score threshold (0.0 to 1.0)
min_compliance_score: f32Minimum compliance score threshold (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for ReviewConfig
impl Clone for ReviewConfig
Source§fn clone(&self) -> ReviewConfig
fn clone(&self) -> ReviewConfig
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 ReviewConfig
impl Debug for ReviewConfig
Source§impl Default for ReviewConfig
impl Default for ReviewConfig
Source§impl<'de> Deserialize<'de> for ReviewConfig
impl<'de> Deserialize<'de> for ReviewConfig
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 ReviewConfig
impl RefUnwindSafe for ReviewConfig
impl Send for ReviewConfig
impl Sync for ReviewConfig
impl Unpin for ReviewConfig
impl UnwindSafe for ReviewConfig
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