Struct aws_sdk_ssm::types::ComplianceSummaryItem
source · #[non_exhaustive]pub struct ComplianceSummaryItem {
pub compliance_type: Option<String>,
pub compliant_summary: Option<CompliantSummary>,
pub non_compliant_summary: Option<NonCompliantSummary>,
}
Expand description
A summary of compliance information by compliance type.
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.compliance_type: Option<String>
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
compliant_summary: Option<CompliantSummary>
A list of COMPLIANT items for the specified compliance type.
non_compliant_summary: Option<NonCompliantSummary>
A list of NON_COMPLIANT items for the specified compliance type.
Implementations§
source§impl ComplianceSummaryItem
impl ComplianceSummaryItem
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The type of compliance item. For example, the compliance type can be Association, Patch, or Custom:string.
sourcepub fn compliant_summary(&self) -> Option<&CompliantSummary>
pub fn compliant_summary(&self) -> Option<&CompliantSummary>
A list of COMPLIANT items for the specified compliance type.
sourcepub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
pub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
A list of NON_COMPLIANT items for the specified compliance type.
source§impl ComplianceSummaryItem
impl ComplianceSummaryItem
sourcepub fn builder() -> ComplianceSummaryItemBuilder
pub fn builder() -> ComplianceSummaryItemBuilder
Creates a new builder-style object to manufacture ComplianceSummaryItem
.
Trait Implementations§
source§impl Clone for ComplianceSummaryItem
impl Clone for ComplianceSummaryItem
source§fn clone(&self) -> ComplianceSummaryItem
fn clone(&self) -> ComplianceSummaryItem
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 ComplianceSummaryItem
impl Debug for ComplianceSummaryItem
source§impl PartialEq for ComplianceSummaryItem
impl PartialEq for ComplianceSummaryItem
source§fn eq(&self, other: &ComplianceSummaryItem) -> bool
fn eq(&self, other: &ComplianceSummaryItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComplianceSummaryItem
Auto Trait Implementations§
impl RefUnwindSafe for ComplianceSummaryItem
impl Send for ComplianceSummaryItem
impl Sync for ComplianceSummaryItem
impl Unpin for ComplianceSummaryItem
impl UnwindSafe for ComplianceSummaryItem
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