#[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 ==
.impl StructuralPartialEq for ManagedDataIdentifierSummary
Auto Trait Implementations§
impl Freeze for ManagedDataIdentifierSummary
impl RefUnwindSafe for ManagedDataIdentifierSummary
impl Send for ManagedDataIdentifierSummary
impl Sync for ManagedDataIdentifierSummary
impl Unpin for ManagedDataIdentifierSummary
impl UnwindSafe for ManagedDataIdentifierSummary
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