Struct aws_sdk_ssm::model::ComplianceItemEntry
source · [−]#[non_exhaustive]pub struct ComplianceItemEntry {
pub id: Option<String>,
pub title: Option<String>,
pub severity: Option<ComplianceSeverity>,
pub status: Option<ComplianceStatus>,
pub details: Option<HashMap<String, String>>,
}Expand description
Information about a compliance item.
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.id: Option<String>The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
title: Option<String>The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
severity: Option<ComplianceSeverity>The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
status: Option<ComplianceStatus>The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
details: Option<HashMap<String, String>>A "Key": "Value" tag combination for the compliance item.
Implementations
sourceimpl ComplianceItemEntry
impl ComplianceItemEntry
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
sourcepub fn title(&self) -> Option<&str>
pub fn title(&self) -> Option<&str>
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
sourcepub fn severity(&self) -> Option<&ComplianceSeverity>
pub fn severity(&self) -> Option<&ComplianceSeverity>
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
sourcepub fn status(&self) -> Option<&ComplianceStatus>
pub fn status(&self) -> Option<&ComplianceStatus>
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
sourceimpl ComplianceItemEntry
impl ComplianceItemEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ComplianceItemEntry
Trait Implementations
sourceimpl Clone for ComplianceItemEntry
impl Clone for ComplianceItemEntry
sourcefn clone(&self) -> ComplianceItemEntry
fn clone(&self) -> ComplianceItemEntry
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 ComplianceItemEntry
impl Debug for ComplianceItemEntry
sourceimpl PartialEq<ComplianceItemEntry> for ComplianceItemEntry
impl PartialEq<ComplianceItemEntry> for ComplianceItemEntry
sourcefn eq(&self, other: &ComplianceItemEntry) -> bool
fn eq(&self, other: &ComplianceItemEntry) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ComplianceItemEntry) -> bool
fn ne(&self, other: &ComplianceItemEntry) -> bool
This method tests for !=.
impl StructuralPartialEq for ComplianceItemEntry
Auto Trait Implementations
impl RefUnwindSafe for ComplianceItemEntry
impl Send for ComplianceItemEntry
impl Sync for ComplianceItemEntry
impl Unpin for ComplianceItemEntry
impl UnwindSafe for ComplianceItemEntry
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> 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