pub struct ScanSummary {
pub files_scanned: usize,
pub files_skipped: usize,
pub total_lines: usize,
pub findings_by_severity: HashMap<String, usize>,
pub languages: HashMap<String, usize>,
pub duration_ms: u64,
}Expand description
Summary of a scan operation
Fields§
§files_scanned: usize§files_skipped: usize§total_lines: usize§findings_by_severity: HashMap<String, usize>§languages: HashMap<String, usize>§duration_ms: u64Trait Implementations§
Source§impl Clone for ScanSummary
impl Clone for ScanSummary
Source§fn clone(&self) -> ScanSummary
fn clone(&self) -> ScanSummary
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 ScanSummary
impl Debug for ScanSummary
Source§impl Default for ScanSummary
impl Default for ScanSummary
Source§fn default() -> ScanSummary
fn default() -> ScanSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanSummary
impl<'de> Deserialize<'de> for ScanSummary
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 ScanSummary
impl RefUnwindSafe for ScanSummary
impl Send for ScanSummary
impl Sync for ScanSummary
impl Unpin for ScanSummary
impl UnwindSafe for ScanSummary
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