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 ==
.