Struct aws_sdk_ssm::model::ResourceComplianceSummaryItem
source · [−]#[non_exhaustive]pub struct ResourceComplianceSummaryItem {
pub compliance_type: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub status: Option<ComplianceStatus>,
pub overall_severity: Option<ComplianceSeverity>,
pub execution_summary: Option<ComplianceExecutionSummary>,
pub compliant_summary: Option<CompliantSummary>,
pub non_compliant_summary: Option<NonCompliantSummary>,
}
Expand description
Compliance summary information for a specific resource.
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.compliance_type: Option<String>
The compliance type.
resource_type: Option<String>
The resource type.
resource_id: Option<String>
The resource ID.
status: Option<ComplianceStatus>
The compliance status for the resource.
overall_severity: Option<ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
execution_summary: Option<ComplianceExecutionSummary>
Information about the execution.
compliant_summary: Option<CompliantSummary>
A list of items that are compliant for the resource.
non_compliant_summary: Option<NonCompliantSummary>
A list of items that aren't compliant for the resource.
Implementations
sourceimpl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The compliance type.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource ID.
sourcepub fn status(&self) -> Option<&ComplianceStatus>
pub fn status(&self) -> Option<&ComplianceStatus>
The compliance status for the resource.
sourcepub fn overall_severity(&self) -> Option<&ComplianceSeverity>
pub fn overall_severity(&self) -> Option<&ComplianceSeverity>
The highest severity item found for the resource. The resource is compliant for this item.
sourcepub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
pub fn execution_summary(&self) -> Option<&ComplianceExecutionSummary>
Information about the execution.
sourcepub fn compliant_summary(&self) -> Option<&CompliantSummary>
pub fn compliant_summary(&self) -> Option<&CompliantSummary>
A list of items that are compliant for the resource.
sourcepub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
pub fn non_compliant_summary(&self) -> Option<&NonCompliantSummary>
A list of items that aren't compliant for the resource.
sourceimpl ResourceComplianceSummaryItem
impl ResourceComplianceSummaryItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceComplianceSummaryItem
Trait Implementations
sourceimpl Clone for ResourceComplianceSummaryItem
impl Clone for ResourceComplianceSummaryItem
sourcefn clone(&self) -> ResourceComplianceSummaryItem
fn clone(&self) -> ResourceComplianceSummaryItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResourceComplianceSummaryItem
impl Debug for ResourceComplianceSummaryItem
sourceimpl PartialEq<ResourceComplianceSummaryItem> for ResourceComplianceSummaryItem
impl PartialEq<ResourceComplianceSummaryItem> for ResourceComplianceSummaryItem
sourcefn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
fn eq(&self, other: &ResourceComplianceSummaryItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ResourceComplianceSummaryItem) -> bool
fn ne(&self, other: &ResourceComplianceSummaryItem) -> bool
This method tests for !=
.
impl StructuralPartialEq for ResourceComplianceSummaryItem
Auto Trait Implementations
impl RefUnwindSafe for ResourceComplianceSummaryItem
impl Send for ResourceComplianceSummaryItem
impl Sync for ResourceComplianceSummaryItem
impl Unpin for ResourceComplianceSummaryItem
impl UnwindSafe for ResourceComplianceSummaryItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more