pub struct MappingStatistics {
pub total_nodes: usize,
pub nodes_with_mappings: usize,
pub nodes_without_mappings: usize,
pub unique_cwe_ids: usize,
}Expand description
Statistics about a CWE mapping
Fields§
§total_nodes: usizeTotal number of VRT nodes
nodes_with_mappings: usizeNumber of nodes with CWE mappings
nodes_without_mappings: usizeNumber of nodes without CWE mappings
unique_cwe_ids: usizeTotal number of unique CWE IDs
Trait Implementations§
Source§impl Clone for MappingStatistics
impl Clone for MappingStatistics
Source§fn clone(&self) -> MappingStatistics
fn clone(&self) -> MappingStatistics
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 MappingStatistics
impl Debug for MappingStatistics
Source§impl Default for MappingStatistics
impl Default for MappingStatistics
Source§fn default() -> MappingStatistics
fn default() -> MappingStatistics
Returns the “default value” for a type. Read more
Source§impl PartialEq for MappingStatistics
impl PartialEq for MappingStatistics
impl Eq for MappingStatistics
impl StructuralPartialEq for MappingStatistics
Auto Trait Implementations§
impl Freeze for MappingStatistics
impl RefUnwindSafe for MappingStatistics
impl Send for MappingStatistics
impl Sync for MappingStatistics
impl Unpin for MappingStatistics
impl UnwindSafe for MappingStatistics
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