Struct aws_sdk_config::types::ComplianceContributorCount
source · #[non_exhaustive]pub struct ComplianceContributorCount {
pub capped_count: i32,
pub cap_exceeded: bool,
}Expand description
The number of Amazon Web Services resources or Config rules responsible for the current compliance of the item, up to a maximum number.
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.capped_count: i32The number of Amazon Web Services resources or Config rules responsible for the current compliance of the item.
cap_exceeded: boolIndicates whether the maximum count is reached.
Implementations§
source§impl ComplianceContributorCount
impl ComplianceContributorCount
sourcepub fn capped_count(&self) -> i32
pub fn capped_count(&self) -> i32
The number of Amazon Web Services resources or Config rules responsible for the current compliance of the item.
sourcepub fn cap_exceeded(&self) -> bool
pub fn cap_exceeded(&self) -> bool
Indicates whether the maximum count is reached.
source§impl ComplianceContributorCount
impl ComplianceContributorCount
sourcepub fn builder() -> ComplianceContributorCountBuilder
pub fn builder() -> ComplianceContributorCountBuilder
Creates a new builder-style object to manufacture ComplianceContributorCount.
Trait Implementations§
source§impl Clone for ComplianceContributorCount
impl Clone for ComplianceContributorCount
source§fn clone(&self) -> ComplianceContributorCount
fn clone(&self) -> ComplianceContributorCount
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 ComplianceContributorCount
impl Debug for ComplianceContributorCount
source§impl PartialEq for ComplianceContributorCount
impl PartialEq for ComplianceContributorCount
source§fn eq(&self, other: &ComplianceContributorCount) -> bool
fn eq(&self, other: &ComplianceContributorCount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComplianceContributorCount
Auto Trait Implementations§
impl RefUnwindSafe for ComplianceContributorCount
impl Send for ComplianceContributorCount
impl Sync for ComplianceContributorCount
impl Unpin for ComplianceContributorCount
impl UnwindSafe for ComplianceContributorCount
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>
Creates a shared type from an unshared type.