#[non_exhaustive]pub struct FindingHistoryUpdateSource {
pub type: Option<FindingHistoryUpdateSourceType>,
pub identity: Option<String>,
}
Expand description
Identifies the source of the finding change event.
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.type: Option<FindingHistoryUpdateSourceType>
Describes the type of finding change event, such as a call to BatchImportFindings
(by an integrated Amazon Web Service or third party partner integration) or BatchUpdateFindings
(by a Security Hub customer).
identity: Option<String>
The identity of the source that initiated the finding change event. For example, the Amazon Resource Name (ARN) of a partner that calls BatchImportFindings or of a customer that calls BatchUpdateFindings.
Implementations§
source§impl FindingHistoryUpdateSource
impl FindingHistoryUpdateSource
sourcepub fn type(&self) -> Option<&FindingHistoryUpdateSourceType>
pub fn type(&self) -> Option<&FindingHistoryUpdateSourceType>
Describes the type of finding change event, such as a call to BatchImportFindings
(by an integrated Amazon Web Service or third party partner integration) or BatchUpdateFindings
(by a Security Hub customer).
source§impl FindingHistoryUpdateSource
impl FindingHistoryUpdateSource
sourcepub fn builder() -> FindingHistoryUpdateSourceBuilder
pub fn builder() -> FindingHistoryUpdateSourceBuilder
Creates a new builder-style object to manufacture FindingHistoryUpdateSource
.
Trait Implementations§
source§impl Clone for FindingHistoryUpdateSource
impl Clone for FindingHistoryUpdateSource
source§fn clone(&self) -> FindingHistoryUpdateSource
fn clone(&self) -> FindingHistoryUpdateSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingHistoryUpdateSource
impl Debug for FindingHistoryUpdateSource
source§impl PartialEq for FindingHistoryUpdateSource
impl PartialEq for FindingHistoryUpdateSource
source§fn eq(&self, other: &FindingHistoryUpdateSource) -> bool
fn eq(&self, other: &FindingHistoryUpdateSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FindingHistoryUpdateSource
Auto Trait Implementations§
impl Freeze for FindingHistoryUpdateSource
impl RefUnwindSafe for FindingHistoryUpdateSource
impl Send for FindingHistoryUpdateSource
impl Sync for FindingHistoryUpdateSource
impl Unpin for FindingHistoryUpdateSource
impl UnwindSafe for FindingHistoryUpdateSource
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