#[non_exhaustive]pub struct AccountFindingsMetric {
pub date: Option<DateTime>,
pub new_findings: Option<FindingMetricsValuePerSeverity>,
pub closed_findings: Option<FindingMetricsValuePerSeverity>,
pub open_findings: Option<FindingMetricsValuePerSeverity>,
pub mean_time_to_close: Option<FindingMetricsValuePerSeverity>,
}
Expand description
A summary of findings metrics in an account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.date: Option<DateTime>
The date from which the finding metrics were retrieved.
new_findings: Option<FindingMetricsValuePerSeverity>
The number of new findings of each severity in account on the specified date.
closed_findings: Option<FindingMetricsValuePerSeverity>
The number of closed findings of each severity in an account on the specified date.
open_findings: Option<FindingMetricsValuePerSeverity>
The number of open findings of each severity in an account as of the specified date.
mean_time_to_close: Option<FindingMetricsValuePerSeverity>
The average time it takes to close findings of each severity in days.
Implementations§
source§impl AccountFindingsMetric
impl AccountFindingsMetric
sourcepub fn date(&self) -> Option<&DateTime>
pub fn date(&self) -> Option<&DateTime>
The date from which the finding metrics were retrieved.
sourcepub fn new_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
pub fn new_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
The number of new findings of each severity in account on the specified date.
sourcepub fn closed_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
pub fn closed_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
The number of closed findings of each severity in an account on the specified date.
sourcepub fn open_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
pub fn open_findings(&self) -> Option<&FindingMetricsValuePerSeverity>
The number of open findings of each severity in an account as of the specified date.
sourcepub fn mean_time_to_close(&self) -> Option<&FindingMetricsValuePerSeverity>
pub fn mean_time_to_close(&self) -> Option<&FindingMetricsValuePerSeverity>
The average time it takes to close findings of each severity in days.
source§impl AccountFindingsMetric
impl AccountFindingsMetric
sourcepub fn builder() -> AccountFindingsMetricBuilder
pub fn builder() -> AccountFindingsMetricBuilder
Creates a new builder-style object to manufacture AccountFindingsMetric
.
Trait Implementations§
source§impl Clone for AccountFindingsMetric
impl Clone for AccountFindingsMetric
source§fn clone(&self) -> AccountFindingsMetric
fn clone(&self) -> AccountFindingsMetric
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountFindingsMetric
impl Debug for AccountFindingsMetric
source§impl PartialEq<AccountFindingsMetric> for AccountFindingsMetric
impl PartialEq<AccountFindingsMetric> for AccountFindingsMetric
source§fn eq(&self, other: &AccountFindingsMetric) -> bool
fn eq(&self, other: &AccountFindingsMetric) -> bool
self
and other
values to be equal, and is used
by ==
.