Struct aws_sdk_securityhub::model::PatchSummary
source · [−]#[non_exhaustive]pub struct PatchSummary {
pub id: Option<String>,
pub installed_count: i32,
pub missing_count: i32,
pub failed_count: i32,
pub installed_other_count: i32,
pub installed_rejected_count: i32,
pub installed_pending_reboot: i32,
pub operation_start_time: Option<String>,
pub operation_end_time: Option<String>,
pub reboot_option: Option<String>,
pub operation: Option<String>,
}
Expand description
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
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 identifier of the compliance standard that was used to determine the patch compliance status.
installed_count: i32
The number of patches from the compliance standard that were installed successfully.
missing_count: i32
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
failed_count: i32
The number of patches from the compliance standard that failed to install.
installed_other_count: i32
The number of installed patches that are not part of the compliance standard.
installed_rejected_count: i32
The number of patches that are installed but are also on a list of patches that the customer rejected.
installed_pending_reboot: i32
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
operation_start_time: Option<String>
Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
operation_end_time: Option<String>
Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
reboot_option: Option<String>
The reboot option specified for the instance.
operation: Option<String>
The type of patch operation performed. For Patch Manager, the values are SCAN
and INSTALL
.
Implementations
sourceimpl PatchSummary
impl PatchSummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the compliance standard that was used to determine the patch compliance status.
sourcepub fn installed_count(&self) -> i32
pub fn installed_count(&self) -> i32
The number of patches from the compliance standard that were installed successfully.
sourcepub fn missing_count(&self) -> i32
pub fn missing_count(&self) -> i32
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
sourcepub fn failed_count(&self) -> i32
pub fn failed_count(&self) -> i32
The number of patches from the compliance standard that failed to install.
sourcepub fn installed_other_count(&self) -> i32
pub fn installed_other_count(&self) -> i32
The number of installed patches that are not part of the compliance standard.
sourcepub fn installed_rejected_count(&self) -> i32
pub fn installed_rejected_count(&self) -> i32
The number of patches that are installed but are also on a list of patches that the customer rejected.
sourcepub fn installed_pending_reboot(&self) -> i32
pub fn installed_pending_reboot(&self) -> i32
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
sourcepub fn operation_start_time(&self) -> Option<&str>
pub fn operation_start_time(&self) -> Option<&str>
Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn operation_end_time(&self) -> Option<&str>
pub fn operation_end_time(&self) -> Option<&str>
Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn reboot_option(&self) -> Option<&str>
pub fn reboot_option(&self) -> Option<&str>
The reboot option specified for the instance.
sourceimpl PatchSummary
impl PatchSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PatchSummary
Trait Implementations
sourceimpl Clone for PatchSummary
impl Clone for PatchSummary
sourcefn clone(&self) -> PatchSummary
fn clone(&self) -> PatchSummary
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 PatchSummary
impl Debug for PatchSummary
sourceimpl PartialEq<PatchSummary> for PatchSummary
impl PartialEq<PatchSummary> for PatchSummary
sourcefn eq(&self, other: &PatchSummary) -> bool
fn eq(&self, other: &PatchSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PatchSummary) -> bool
fn ne(&self, other: &PatchSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for PatchSummary
Auto Trait Implementations
impl RefUnwindSafe for PatchSummary
impl Send for PatchSummary
impl Sync for PatchSummary
impl Unpin for PatchSummary
impl UnwindSafe for PatchSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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