Struct aws_sdk_comprehend::model::RedactionConfig
source · [−]#[non_exhaustive]pub struct RedactionConfig { /* private fields */ }Expand description
Provides configuration parameters for PII entity redaction.
Implementations
sourceimpl RedactionConfig
impl RedactionConfig
sourcepub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
pub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
sourcepub fn mask_mode(&self) -> Option<&PiiEntitiesDetectionMaskMode>
pub fn mask_mode(&self) -> Option<&PiiEntitiesDetectionMaskMode>
Specifies whether the PII entity is redacted with the mask character or the entity type.
sourcepub fn mask_character(&self) -> Option<&str>
pub fn mask_character(&self) -> Option<&str>
A character that replaces each character in the redacted PII entity.
sourceimpl RedactionConfig
impl RedactionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RedactionConfig.
Trait Implementations
sourceimpl Clone for RedactionConfig
impl Clone for RedactionConfig
sourcefn clone(&self) -> RedactionConfig
fn clone(&self) -> RedactionConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RedactionConfig
impl Debug for RedactionConfig
sourceimpl PartialEq<RedactionConfig> for RedactionConfig
impl PartialEq<RedactionConfig> for RedactionConfig
sourcefn eq(&self, other: &RedactionConfig) -> bool
fn eq(&self, other: &RedactionConfig) -> bool
impl StructuralPartialEq for RedactionConfig
Auto Trait Implementations
impl RefUnwindSafe for RedactionConfig
impl Send for RedactionConfig
impl Sync for RedactionConfig
impl Unpin for RedactionConfig
impl UnwindSafe for RedactionConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more