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
impl StructuralPartialEq for ResourceCountsSummary
Auto Trait Implementations§
impl Freeze for ResourceCountsSummary
impl RefUnwindSafe for ResourceCountsSummary
impl Send for ResourceCountsSummary
impl Sync for ResourceCountsSummary
impl Unpin for ResourceCountsSummary
impl UnwindSafe for ResourceCountsSummary
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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