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