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