Struct aws_sdk_securityhub::types::FindingHistoryUpdate
source · #[non_exhaustive]pub struct FindingHistoryUpdate {
pub updated_field: Option<String>,
pub old_value: Option<String>,
pub new_value: Option<String>,
}
Expand description
An array of objects that provides details about a change to a finding, including the Amazon Web Services Security Finding Format (ASFF) field that changed, the value of the field before the change, and the value of the field after the change.
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.updated_field: Option<String>
The ASFF field that changed during the finding change event.
old_value: Option<String>
The value of the ASFF field before the finding change event.
new_value: Option<String>
The value of the ASFF field after the finding change event. To preserve storage and readability, Security Hub omits this value if FindingHistoryRecord
exceeds database limits.
Implementations§
source§impl FindingHistoryUpdate
impl FindingHistoryUpdate
sourcepub fn updated_field(&self) -> Option<&str>
pub fn updated_field(&self) -> Option<&str>
The ASFF field that changed during the finding change event.
sourcepub fn old_value(&self) -> Option<&str>
pub fn old_value(&self) -> Option<&str>
The value of the ASFF field before the finding change event.
sourcepub fn new_value(&self) -> Option<&str>
pub fn new_value(&self) -> Option<&str>
The value of the ASFF field after the finding change event. To preserve storage and readability, Security Hub omits this value if FindingHistoryRecord
exceeds database limits.
source§impl FindingHistoryUpdate
impl FindingHistoryUpdate
sourcepub fn builder() -> FindingHistoryUpdateBuilder
pub fn builder() -> FindingHistoryUpdateBuilder
Creates a new builder-style object to manufacture FindingHistoryUpdate
.
Trait Implementations§
source§impl Clone for FindingHistoryUpdate
impl Clone for FindingHistoryUpdate
source§fn clone(&self) -> FindingHistoryUpdate
fn clone(&self) -> FindingHistoryUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingHistoryUpdate
impl Debug for FindingHistoryUpdate
source§impl PartialEq for FindingHistoryUpdate
impl PartialEq for FindingHistoryUpdate
source§fn eq(&self, other: &FindingHistoryUpdate) -> bool
fn eq(&self, other: &FindingHistoryUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FindingHistoryUpdate
Auto Trait Implementations§
impl Freeze for FindingHistoryUpdate
impl RefUnwindSafe for FindingHistoryUpdate
impl Send for FindingHistoryUpdate
impl Sync for FindingHistoryUpdate
impl Unpin for FindingHistoryUpdate
impl UnwindSafe for FindingHistoryUpdate
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> 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