Struct aws_sdk_securityhub::types::SensitiveDataResult
source · #[non_exhaustive]pub struct SensitiveDataResult {
pub category: Option<String>,
pub detections: Option<Vec<SensitiveDataDetections>>,
pub total_count: Option<i64>,
}
Expand description
Contains a detected instance of sensitive data that are based on built-in identifiers.
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.category: Option<String>
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
detections: Option<Vec<SensitiveDataDetections>>
The list of detected instances of sensitive data.
total_count: Option<i64>
The total number of occurrences of sensitive data.
Implementations§
source§impl SensitiveDataResult
impl SensitiveDataResult
sourcepub fn category(&self) -> Option<&str>
pub fn category(&self) -> Option<&str>
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
sourcepub fn detections(&self) -> &[SensitiveDataDetections]
pub fn detections(&self) -> &[SensitiveDataDetections]
The list of detected instances of sensitive data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .detections.is_none()
.
sourcepub fn total_count(&self) -> Option<i64>
pub fn total_count(&self) -> Option<i64>
The total number of occurrences of sensitive data.
source§impl SensitiveDataResult
impl SensitiveDataResult
sourcepub fn builder() -> SensitiveDataResultBuilder
pub fn builder() -> SensitiveDataResultBuilder
Creates a new builder-style object to manufacture SensitiveDataResult
.
Trait Implementations§
source§impl Clone for SensitiveDataResult
impl Clone for SensitiveDataResult
source§fn clone(&self) -> SensitiveDataResult
fn clone(&self) -> SensitiveDataResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SensitiveDataResult
impl Debug for SensitiveDataResult
source§impl PartialEq for SensitiveDataResult
impl PartialEq for SensitiveDataResult
source§fn eq(&self, other: &SensitiveDataResult) -> bool
fn eq(&self, other: &SensitiveDataResult) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SensitiveDataResult
Auto Trait Implementations§
impl Freeze for SensitiveDataResult
impl RefUnwindSafe for SensitiveDataResult
impl Send for SensitiveDataResult
impl Sync for SensitiveDataResult
impl Unpin for SensitiveDataResult
impl UnwindSafe for SensitiveDataResult
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