Struct aws_sdk_proton::types::ResourceCountsSummary
source · #[non_exhaustive]pub struct ResourceCountsSummary {
pub total: i32,
pub failed: Option<i32>,
pub up_to_date: Option<i32>,
pub behind_major: Option<i32>,
pub behind_minor: Option<i32>,
}
Expand description
Summary counts of each Proton resource types.
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.total: i32
The total number of resources of this type in the Amazon Web Services account.
failed: Option<i32>
The number of resources of this type in the Amazon Web Services account that failed to deploy.
up_to_date: Option<i32>
The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
behind_major: Option<i32>
The number of resources of this type in the Amazon Web Services account that need a major template version update.
behind_minor: Option<i32>
The number of resources of this type in the Amazon Web Services account that need a minor template version update.
Implementations§
source§impl ResourceCountsSummary
impl ResourceCountsSummary
sourcepub fn total(&self) -> i32
pub fn total(&self) -> i32
The total number of resources of this type in the Amazon Web Services account.
sourcepub fn failed(&self) -> Option<i32>
pub fn failed(&self) -> Option<i32>
The number of resources of this type in the Amazon Web Services account that failed to deploy.
sourcepub fn up_to_date(&self) -> Option<i32>
pub fn up_to_date(&self) -> Option<i32>
The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
sourcepub fn behind_major(&self) -> Option<i32>
pub fn behind_major(&self) -> Option<i32>
The number of resources of this type in the Amazon Web Services account that need a major template version update.
sourcepub fn behind_minor(&self) -> Option<i32>
pub fn behind_minor(&self) -> Option<i32>
The number of resources of this type in the Amazon Web Services account that need a minor template version update.
source§impl ResourceCountsSummary
impl ResourceCountsSummary
sourcepub fn builder() -> ResourceCountsSummaryBuilder
pub fn builder() -> ResourceCountsSummaryBuilder
Creates a new builder-style object to manufacture ResourceCountsSummary
.
Trait Implementations§
source§impl Clone for ResourceCountsSummary
impl Clone for ResourceCountsSummary
source§fn clone(&self) -> ResourceCountsSummary
fn clone(&self) -> ResourceCountsSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceCountsSummary
impl Debug for ResourceCountsSummary
source§impl PartialEq for ResourceCountsSummary
impl PartialEq for ResourceCountsSummary
source§fn eq(&self, other: &ResourceCountsSummary) -> bool
fn eq(&self, other: &ResourceCountsSummary) -> bool
self
and other
values to be equal, and is used
by ==
.