#[non_exhaustive]pub struct AccountFindingsMetricBuilder { /* private fields */ }
Expand description
A builder for AccountFindingsMetric
.
Implementations§
source§impl AccountFindingsMetricBuilder
impl AccountFindingsMetricBuilder
sourcepub fn date(self, input: DateTime) -> Self
pub fn date(self, input: DateTime) -> Self
The date from which the findings metrics were retrieved.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
The date from which the findings metrics were retrieved.
sourcepub fn get_date(&self) -> &Option<DateTime>
pub fn get_date(&self) -> &Option<DateTime>
The date from which the findings metrics were retrieved.
sourcepub fn new_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn new_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of new findings of each severity on the specified date.
sourcepub fn set_new_findings(
self,
input: Option<FindingMetricsValuePerSeverity>,
) -> Self
pub fn set_new_findings( self, input: Option<FindingMetricsValuePerSeverity>, ) -> Self
The number of new findings of each severity on the specified date.
sourcepub fn get_new_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_new_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
The number of new findings of each severity on the specified date.
sourcepub fn closed_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn closed_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of closed findings of each severity on the specified date.
sourcepub fn set_closed_findings(
self,
input: Option<FindingMetricsValuePerSeverity>,
) -> Self
pub fn set_closed_findings( self, input: Option<FindingMetricsValuePerSeverity>, ) -> Self
The number of closed findings of each severity on the specified date.
sourcepub fn get_closed_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_closed_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
The number of closed findings of each severity on the specified date.
sourcepub fn open_findings(self, input: FindingMetricsValuePerSeverity) -> Self
pub fn open_findings(self, input: FindingMetricsValuePerSeverity) -> Self
The number of open findings of each severity as of the specified date.
sourcepub fn set_open_findings(
self,
input: Option<FindingMetricsValuePerSeverity>,
) -> Self
pub fn set_open_findings( self, input: Option<FindingMetricsValuePerSeverity>, ) -> Self
The number of open findings of each severity as of the specified date.
sourcepub fn get_open_findings(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_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, input: FindingMetricsValuePerSeverity) -> Self
pub fn mean_time_to_close(self, input: FindingMetricsValuePerSeverity) -> Self
The average time in days it takes to close findings of each severity as of a specified date.
sourcepub fn set_mean_time_to_close(
self,
input: Option<FindingMetricsValuePerSeverity>,
) -> Self
pub fn set_mean_time_to_close( self, input: Option<FindingMetricsValuePerSeverity>, ) -> Self
The average time in days it takes to close findings of each severity as of a specified date.
sourcepub fn get_mean_time_to_close(&self) -> &Option<FindingMetricsValuePerSeverity>
pub fn get_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.
sourcepub fn build(self) -> AccountFindingsMetric
pub fn build(self) -> AccountFindingsMetric
Consumes the builder and constructs a AccountFindingsMetric
.
Trait Implementations§
source§impl Clone for AccountFindingsMetricBuilder
impl Clone for AccountFindingsMetricBuilder
source§fn clone(&self) -> AccountFindingsMetricBuilder
fn clone(&self) -> AccountFindingsMetricBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountFindingsMetricBuilder
impl Debug for AccountFindingsMetricBuilder
source§impl Default for AccountFindingsMetricBuilder
impl Default for AccountFindingsMetricBuilder
source§fn default() -> AccountFindingsMetricBuilder
fn default() -> AccountFindingsMetricBuilder
source§impl PartialEq for AccountFindingsMetricBuilder
impl PartialEq for AccountFindingsMetricBuilder
source§fn eq(&self, other: &AccountFindingsMetricBuilder) -> bool
fn eq(&self, other: &AccountFindingsMetricBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AccountFindingsMetricBuilder
Auto Trait Implementations§
impl Freeze for AccountFindingsMetricBuilder
impl RefUnwindSafe for AccountFindingsMetricBuilder
impl Send for AccountFindingsMetricBuilder
impl Sync for AccountFindingsMetricBuilder
impl Unpin for AccountFindingsMetricBuilder
impl UnwindSafe for AccountFindingsMetricBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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