#[non_exhaustive]pub struct ComplianceSummaryByResourceType {
pub resource_type: Option<String>,
pub compliance_summary: Option<ComplianceSummary>,
}Expand description
The number of Amazon Web Services resources of a specific type that are compliant or noncompliant, up to a maximum of 100 for each.
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.resource_type: Option<String>The type of Amazon Web Services resource.
compliance_summary: Option<ComplianceSummary>The number of Amazon Web Services resources that are compliant or noncompliant, up to a maximum of 100 for each.
Implementations§
source§impl ComplianceSummaryByResourceType
impl ComplianceSummaryByResourceType
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of Amazon Web Services resource.
sourcepub fn compliance_summary(&self) -> Option<&ComplianceSummary>
pub fn compliance_summary(&self) -> Option<&ComplianceSummary>
The number of Amazon Web Services resources that are compliant or noncompliant, up to a maximum of 100 for each.
source§impl ComplianceSummaryByResourceType
impl ComplianceSummaryByResourceType
sourcepub fn builder() -> ComplianceSummaryByResourceTypeBuilder
pub fn builder() -> ComplianceSummaryByResourceTypeBuilder
Creates a new builder-style object to manufacture ComplianceSummaryByResourceType.
Trait Implementations§
source§impl Clone for ComplianceSummaryByResourceType
impl Clone for ComplianceSummaryByResourceType
source§fn clone(&self) -> ComplianceSummaryByResourceType
fn clone(&self) -> ComplianceSummaryByResourceType
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 PartialEq for ComplianceSummaryByResourceType
impl PartialEq for ComplianceSummaryByResourceType
source§fn eq(&self, other: &ComplianceSummaryByResourceType) -> bool
fn eq(&self, other: &ComplianceSummaryByResourceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComplianceSummaryByResourceType
Auto Trait Implementations§
impl RefUnwindSafe for ComplianceSummaryByResourceType
impl Send for ComplianceSummaryByResourceType
impl Sync for ComplianceSummaryByResourceType
impl Unpin for ComplianceSummaryByResourceType
impl UnwindSafe for ComplianceSummaryByResourceType
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.