pub struct ScanStats {
pub total_findings: usize,
pub findings_by_type: HashMap<EntityType, usize>,
pub scan_duration_ms: u64,
pub bytes_scanned: usize,
}Expand description
Statistics about a scan.
Fields§
§total_findings: usizeTotal number of findings.
findings_by_type: HashMap<EntityType, usize>Count of findings per entity type.
scan_duration_ms: u64Wall-clock scan duration in milliseconds.
bytes_scanned: usizeNumber of input bytes scanned.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScanStats
impl<'de> Deserialize<'de> for ScanStats
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
impl Eq for ScanStats
impl StructuralPartialEq for ScanStats
Auto Trait Implementations§
impl Freeze for ScanStats
impl RefUnwindSafe for ScanStats
impl Send for ScanStats
impl Sync for ScanStats
impl Unpin for ScanStats
impl UnsafeUnpin for ScanStats
impl UnwindSafe for ScanStats
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