Struct aws_sdk_macie2::types::CustomDetection
source · #[non_exhaustive]pub struct CustomDetection {
pub arn: Option<String>,
pub count: Option<i64>,
pub name: Option<String>,
pub occurrences: Option<Occurrences>,
}
Expand description
Provides information about a custom data identifier that produced a sensitive data finding, and the sensitive data that it detected for the finding.
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.arn: Option<String>
The unique identifier for the custom data identifier.
count: Option<i64>
The total number of occurrences of the sensitive data that the custom data identifier detected.
name: Option<String>
The name of the custom data identifier.
occurrences: Option<Occurrences>
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
Implementations§
source§impl CustomDetection
impl CustomDetection
sourcepub fn count(&self) -> Option<i64>
pub fn count(&self) -> Option<i64>
The total number of occurrences of the sensitive data that the custom data identifier detected.
sourcepub fn occurrences(&self) -> Option<&Occurrences>
pub fn occurrences(&self) -> Option<&Occurrences>
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
source§impl CustomDetection
impl CustomDetection
sourcepub fn builder() -> CustomDetectionBuilder
pub fn builder() -> CustomDetectionBuilder
Creates a new builder-style object to manufacture CustomDetection
.
Trait Implementations§
source§impl Clone for CustomDetection
impl Clone for CustomDetection
source§fn clone(&self) -> CustomDetection
fn clone(&self) -> CustomDetection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomDetection
impl Debug for CustomDetection
source§impl PartialEq for CustomDetection
impl PartialEq for CustomDetection
source§fn eq(&self, other: &CustomDetection) -> bool
fn eq(&self, other: &CustomDetection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomDetection
Auto Trait Implementations§
impl Freeze for CustomDetection
impl RefUnwindSafe for CustomDetection
impl Send for CustomDetection
impl Sync for CustomDetection
impl Unpin for CustomDetection
impl UnwindSafe for CustomDetection
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