#[non_exhaustive]pub struct ManagedDataIdentifierSummary {
pub category: Option<SensitiveDataItemCategory>,
pub id: Option<String>,
}
Expand description
Provides information about a managed data identifier. For additional information, see Using managed data identifiers in the Amazon Macie User Guide.
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<SensitiveDataItemCategory>
The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
id: Option<String>
The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.
Implementations§
source§impl ManagedDataIdentifierSummary
impl ManagedDataIdentifierSummary
sourcepub fn category(&self) -> Option<&SensitiveDataItemCategory>
pub fn category(&self) -> Option<&SensitiveDataItemCategory>
The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.
source§impl ManagedDataIdentifierSummary
impl ManagedDataIdentifierSummary
sourcepub fn builder() -> ManagedDataIdentifierSummaryBuilder
pub fn builder() -> ManagedDataIdentifierSummaryBuilder
Creates a new builder-style object to manufacture ManagedDataIdentifierSummary
.
Trait Implementations§
source§impl Clone for ManagedDataIdentifierSummary
impl Clone for ManagedDataIdentifierSummary
source§fn clone(&self) -> ManagedDataIdentifierSummary
fn clone(&self) -> ManagedDataIdentifierSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedDataIdentifierSummary
impl Debug for ManagedDataIdentifierSummary
source§impl PartialEq for ManagedDataIdentifierSummary
impl PartialEq for ManagedDataIdentifierSummary
source§fn eq(&self, other: &ManagedDataIdentifierSummary) -> bool
fn eq(&self, other: &ManagedDataIdentifierSummary) -> bool
self
and other
values to be equal, and is used
by ==
.