Struct aws_sdk_comprehend::model::RedactionConfig [−][src]
#[non_exhaustive]pub struct RedactionConfig {
pub pii_entity_types: Option<Vec<PiiEntityType>>,
pub mask_mode: Option<PiiEntitiesDetectionMaskMode>,
pub mask_character: Option<String>,
}Expand description
Provides configuration parameters for PII entity redaction.
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.pii_entity_types: Option<Vec<PiiEntityType>>An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
mask_mode: Option<PiiEntitiesDetectionMaskMode>Specifies whether the PII entity is redacted with the mask character or the entity type.
mask_character: Option<String>A character that replaces each character in the redacted PII entity.
Implementations
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
Specifies whether the PII entity is redacted with the mask character or the entity type.
A character that replaces each character in the redacted PII entity.
Creates a new builder-style object to manufacture RedactionConfig
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
