pub struct CodeAuditConfig {
pub confidence_threshold: f32,
pub max_file_bytes: u64,
pub ignore_paths: Vec<String>,
pub ignore_kinds: HashSet<String>,
pub include_tests: bool,
}Fields§
§confidence_threshold: f32§max_file_bytes: u64§ignore_paths: Vec<String>§ignore_kinds: HashSet<String>§include_tests: boolScan tests/, examples/, and benches/ in addition to src/. Default: false.
Trait Implementations§
Source§impl Clone for CodeAuditConfig
impl Clone for CodeAuditConfig
Source§fn clone(&self) -> CodeAuditConfig
fn clone(&self) -> CodeAuditConfig
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 CodeAuditConfig
impl Debug for CodeAuditConfig
Auto Trait Implementations§
impl Freeze for CodeAuditConfig
impl RefUnwindSafe for CodeAuditConfig
impl Send for CodeAuditConfig
impl Sync for CodeAuditConfig
impl Unpin for CodeAuditConfig
impl UnsafeUnpin for CodeAuditConfig
impl UnwindSafe for CodeAuditConfig
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