pub struct CodeQualityConfig {
pub require_doc_comments: bool,
pub generate_tests: bool,
pub enforce_naming: bool,
pub enforce_error_handling: bool,
}Expand description
Configuration for code quality enforcement
Fields§
§require_doc_comments: boolWhether to require doc comments for public items
generate_tests: boolWhether to generate unit tests
enforce_naming: boolWhether to enforce naming conventions
enforce_error_handling: boolWhether to enforce error handling
Trait Implementations§
Source§impl Clone for CodeQualityConfig
impl Clone for CodeQualityConfig
Source§fn clone(&self) -> CodeQualityConfig
fn clone(&self) -> CodeQualityConfig
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 CodeQualityConfig
impl Debug for CodeQualityConfig
Auto Trait Implementations§
impl Freeze for CodeQualityConfig
impl RefUnwindSafe for CodeQualityConfig
impl Send for CodeQualityConfig
impl Sync for CodeQualityConfig
impl Unpin for CodeQualityConfig
impl UnwindSafe for CodeQualityConfig
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