pub struct PatternStats {
pub rule_name: String,
pub count: usize,
pub severity_distribution: HashMap<Severity, usize>,
pub example_files: Vec<PathBuf>,
}Fields§
§rule_name: String§count: usize§severity_distribution: HashMap<Severity, usize>§example_files: Vec<PathBuf>Trait Implementations§
Source§impl Clone for PatternStats
impl Clone for PatternStats
Source§fn clone(&self) -> PatternStats
fn clone(&self) -> PatternStats
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 moreAuto Trait Implementations§
impl Freeze for PatternStats
impl RefUnwindSafe for PatternStats
impl Send for PatternStats
impl Sync for PatternStats
impl Unpin for PatternStats
impl UnwindSafe for PatternStats
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