Struct aws_sdk_ssm::types::ComplianceItemEntry
source · #[non_exhaustive]pub struct ComplianceItemEntry {
pub id: Option<String>,
pub title: Option<String>,
pub severity: ComplianceSeverity,
pub status: 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: ComplianceSeverity
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
status: 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§
source§impl 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) -> &ComplianceSeverity
pub fn severity(&self) -> &ComplianceSeverity
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
sourcepub fn status(&self) -> &ComplianceStatus
pub fn status(&self) -> &ComplianceStatus
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
source§impl ComplianceItemEntry
impl ComplianceItemEntry
sourcepub fn builder() -> ComplianceItemEntryBuilder
pub fn builder() -> ComplianceItemEntryBuilder
Creates a new builder-style object to manufacture ComplianceItemEntry
.
Trait Implementations§
source§impl Clone for ComplianceItemEntry
impl Clone for ComplianceItemEntry
source§fn clone(&self) -> ComplianceItemEntry
fn clone(&self) -> ComplianceItemEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComplianceItemEntry
impl Debug for ComplianceItemEntry
source§impl PartialEq for ComplianceItemEntry
impl PartialEq for ComplianceItemEntry
impl StructuralPartialEq for ComplianceItemEntry
Auto Trait Implementations§
impl Freeze for ComplianceItemEntry
impl RefUnwindSafe for ComplianceItemEntry
impl Send for ComplianceItemEntry
impl Sync for ComplianceItemEntry
impl Unpin for ComplianceItemEntry
impl UnwindSafe for ComplianceItemEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more