Struct aws_sdk_iot::types::TaskStatistics
source · #[non_exhaustive]pub struct TaskStatistics {
pub total_checks: Option<i32>,
pub in_progress_checks: Option<i32>,
pub waiting_for_data_collection_checks: Option<i32>,
pub compliant_checks: Option<i32>,
pub non_compliant_checks: Option<i32>,
pub failed_checks: Option<i32>,
pub canceled_checks: Option<i32>,
}
Expand description
Statistics for the checks performed during the audit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.total_checks: Option<i32>
The number of checks in this audit.
in_progress_checks: Option<i32>
The number of checks in progress.
waiting_for_data_collection_checks: Option<i32>
The number of checks waiting for data collection.
compliant_checks: Option<i32>
The number of checks that found compliant resources.
non_compliant_checks: Option<i32>
The number of checks that found noncompliant resources.
failed_checks: Option<i32>
The number of checks.
canceled_checks: Option<i32>
The number of checks that did not run because the audit was canceled.
Implementations§
source§impl TaskStatistics
impl TaskStatistics
sourcepub fn total_checks(&self) -> Option<i32>
pub fn total_checks(&self) -> Option<i32>
The number of checks in this audit.
sourcepub fn in_progress_checks(&self) -> Option<i32>
pub fn in_progress_checks(&self) -> Option<i32>
The number of checks in progress.
sourcepub fn waiting_for_data_collection_checks(&self) -> Option<i32>
pub fn waiting_for_data_collection_checks(&self) -> Option<i32>
The number of checks waiting for data collection.
sourcepub fn compliant_checks(&self) -> Option<i32>
pub fn compliant_checks(&self) -> Option<i32>
The number of checks that found compliant resources.
sourcepub fn non_compliant_checks(&self) -> Option<i32>
pub fn non_compliant_checks(&self) -> Option<i32>
The number of checks that found noncompliant resources.
sourcepub fn failed_checks(&self) -> Option<i32>
pub fn failed_checks(&self) -> Option<i32>
The number of checks.
sourcepub fn canceled_checks(&self) -> Option<i32>
pub fn canceled_checks(&self) -> Option<i32>
The number of checks that did not run because the audit was canceled.
source§impl TaskStatistics
impl TaskStatistics
sourcepub fn builder() -> TaskStatisticsBuilder
pub fn builder() -> TaskStatisticsBuilder
Creates a new builder-style object to manufacture TaskStatistics
.
Trait Implementations§
source§impl Clone for TaskStatistics
impl Clone for TaskStatistics
source§fn clone(&self) -> TaskStatistics
fn clone(&self) -> TaskStatistics
Returns a copy 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 TaskStatistics
impl Debug for TaskStatistics
source§impl PartialEq for TaskStatistics
impl PartialEq for TaskStatistics
source§fn eq(&self, other: &TaskStatistics) -> bool
fn eq(&self, other: &TaskStatistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskStatistics
Auto Trait Implementations§
impl Freeze for TaskStatistics
impl RefUnwindSafe for TaskStatistics
impl Send for TaskStatistics
impl Sync for TaskStatistics
impl Unpin for TaskStatistics
impl UnwindSafe for TaskStatistics
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.