Struct aws_sdk_ssm::types::EffectivePatch
source · #[non_exhaustive]pub struct EffectivePatch {
pub patch: Option<Patch>,
pub patch_status: Option<PatchStatus>,
}
Expand description
The EffectivePatch
structure defines metadata about a patch along with the approval state of the patch in a particular patch baseline. The approval state includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
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.patch: Option<Patch>
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
patch_status: Option<PatchStatus>
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
Implementations§
source§impl EffectivePatch
impl EffectivePatch
sourcepub fn patch(&self) -> Option<&Patch>
pub fn patch(&self) -> Option<&Patch>
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
sourcepub fn patch_status(&self) -> Option<&PatchStatus>
pub fn patch_status(&self) -> Option<&PatchStatus>
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
source§impl EffectivePatch
impl EffectivePatch
sourcepub fn builder() -> EffectivePatchBuilder
pub fn builder() -> EffectivePatchBuilder
Creates a new builder-style object to manufacture EffectivePatch
.
Trait Implementations§
source§impl Clone for EffectivePatch
impl Clone for EffectivePatch
source§fn clone(&self) -> EffectivePatch
fn clone(&self) -> EffectivePatch
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EffectivePatch
impl Debug for EffectivePatch
source§impl PartialEq for EffectivePatch
impl PartialEq for EffectivePatch
impl StructuralPartialEq for EffectivePatch
Auto Trait Implementations§
impl Freeze for EffectivePatch
impl RefUnwindSafe for EffectivePatch
impl Send for EffectivePatch
impl Sync for EffectivePatch
impl Unpin for EffectivePatch
impl UnwindSafe for EffectivePatch
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