Struct aws_sdk_ssm::model::PatchComplianceData
source · [−]#[non_exhaustive]pub struct PatchComplianceData {
pub title: Option<String>,
pub kb_id: Option<String>,
pub classification: Option<String>,
pub severity: Option<String>,
pub state: Option<PatchComplianceDataState>,
pub installed_time: Option<DateTime>,
pub cve_ids: Option<String>,
}
Expand description
Information about the state of a patch on a particular managed node as it relates to the patch baseline used to patch the node.
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.title: Option<String>
The title of the patch.
kb_id: Option<String>
The operating system-specific ID of the patch.
classification: Option<String>
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
severity: Option<String>
The severity of the patch such as Critical
, Important
, and Moderate
.
state: Option<PatchComplianceDataState>
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
installed_time: Option<DateTime>
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
cve_ids: Option<String>
The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by the patch.
Implementations
sourceimpl PatchComplianceData
impl PatchComplianceData
sourcepub fn classification(&self) -> Option<&str>
pub fn classification(&self) -> Option<&str>
The classification of the patch, such as SecurityUpdates
, Updates
, and CriticalUpdates
.
sourcepub fn severity(&self) -> Option<&str>
pub fn severity(&self) -> Option<&str>
The severity of the patch such as Critical
, Important
, and Moderate
.
sourcepub fn state(&self) -> Option<&PatchComplianceDataState>
pub fn state(&self) -> Option<&PatchComplianceDataState>
The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
sourcepub fn installed_time(&self) -> Option<&DateTime>
pub fn installed_time(&self) -> Option<&DateTime>
The date/time the patch was installed on the managed node. Not all operating systems provide this level of information.
sourceimpl PatchComplianceData
impl PatchComplianceData
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PatchComplianceData
Trait Implementations
sourceimpl Clone for PatchComplianceData
impl Clone for PatchComplianceData
sourcefn clone(&self) -> PatchComplianceData
fn clone(&self) -> PatchComplianceData
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 PatchComplianceData
impl Debug for PatchComplianceData
sourceimpl PartialEq<PatchComplianceData> for PatchComplianceData
impl PartialEq<PatchComplianceData> for PatchComplianceData
sourcefn eq(&self, other: &PatchComplianceData) -> bool
fn eq(&self, other: &PatchComplianceData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PatchComplianceData) -> bool
fn ne(&self, other: &PatchComplianceData) -> bool
This method tests for !=
.
impl StructuralPartialEq for PatchComplianceData
Auto Trait Implementations
impl RefUnwindSafe for PatchComplianceData
impl Send for PatchComplianceData
impl Sync for PatchComplianceData
impl Unpin for PatchComplianceData
impl UnwindSafe for PatchComplianceData
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