#[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 for an account on a specified date.
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 findings metrics were retrieved.
new_findings: Option<FindingMetricsValuePerSeverity>
The number of new findings of each severity on the specified date.
closed_findings: Option<FindingMetricsValuePerSeverity>
The number of closed findings of each severity on the specified date.
open_findings: Option<FindingMetricsValuePerSeverity>
The number of open findings of each severity as of the specified date.
mean_time_to_close: Option<FindingMetricsValuePerSeverity>
The average time in days it takes to close findings of each severity as of a specified date.
Implementations§
source§impl AccountFindingsMetric
impl AccountFindingsMetric
sourcepub fn date(&self) -> Option<&DateTime>
pub fn date(&self) -> Option<&DateTime>
The date from which the findings 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 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 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 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 in days it takes to close findings of each severity as of a specified date.
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 for AccountFindingsMetric
impl PartialEq 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 ==
.impl StructuralPartialEq for AccountFindingsMetric
Auto Trait Implementations§
impl Freeze for AccountFindingsMetric
impl RefUnwindSafe for AccountFindingsMetric
impl Send for AccountFindingsMetric
impl Sync for AccountFindingsMetric
impl Unpin for AccountFindingsMetric
impl UnwindSafe for AccountFindingsMetric
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more