Struct google_dlp2_beta1::GooglePrivacyDlpV2beta1ImageRedactionConfig [−][src]
pub struct GooglePrivacyDlpV2beta1ImageRedactionConfig { pub redact_all_text: Option<bool>, pub info_type: Option<GooglePrivacyDlpV2beta1InfoType>, pub redaction_color: Option<GooglePrivacyDlpV2beta1Color>, }
Configuration for determining how redaction of images should occur.
This type is not used in any activity, and only used as part of another schema.
Fields
redact_all_text: Option<bool>
If true, all text found in the image, regardless whether it matches an info_type, is redacted.
info_type: Option<GooglePrivacyDlpV2beta1InfoType>
Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
redaction_color: Option<GooglePrivacyDlpV2beta1Color>
The color to use when redacting content from an image. If not specified, the default is black.
Trait Implementations
impl Default for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
impl Default for GooglePrivacyDlpV2beta1ImageRedactionConfig
fn default() -> GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
fn default() -> GooglePrivacyDlpV2beta1ImageRedactionConfig
Returns the "default value" for a type. Read more
impl Clone for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
impl Clone for GooglePrivacyDlpV2beta1ImageRedactionConfig
fn clone(&self) -> GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
fn clone(&self) -> GooglePrivacyDlpV2beta1ImageRedactionConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
impl Debug for GooglePrivacyDlpV2beta1ImageRedactionConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GooglePrivacyDlpV2beta1ImageRedactionConfig
[src]
impl Part for GooglePrivacyDlpV2beta1ImageRedactionConfig