pub struct GooglePrivacyDlpV2ImageTransformation {
pub all_info_types: Option<GooglePrivacyDlpV2AllInfoTypes>,
pub all_text: Option<GooglePrivacyDlpV2AllText>,
pub redaction_color: Option<GooglePrivacyDlpV2Color>,
pub selected_info_types: Option<GooglePrivacyDlpV2SelectedInfoTypes>,
}Expand description
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§
§all_info_types: Option<GooglePrivacyDlpV2AllInfoTypes>Apply transformation to all findings not specified in other ImageTransformation’s selected_info_types. Only one instance is allowed within the ImageTransformations message.
all_text: Option<GooglePrivacyDlpV2AllText>Apply transformation to all text that doesn’t match an infoType. Only one instance is allowed within the ImageTransformations message.
redaction_color: Option<GooglePrivacyDlpV2Color>The color to use when redacting content from an image. If not specified, the default is black.
selected_info_types: Option<GooglePrivacyDlpV2SelectedInfoTypes>Apply transformation to the selected info_types.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2ImageTransformation
impl Clone for GooglePrivacyDlpV2ImageTransformation
Source§fn clone(&self) -> GooglePrivacyDlpV2ImageTransformation
fn clone(&self) -> GooglePrivacyDlpV2ImageTransformation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GooglePrivacyDlpV2ImageTransformation
impl Default for GooglePrivacyDlpV2ImageTransformation
Source§fn default() -> GooglePrivacyDlpV2ImageTransformation
fn default() -> GooglePrivacyDlpV2ImageTransformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2ImageTransformation
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2ImageTransformation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GooglePrivacyDlpV2ImageTransformation
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2ImageTransformation
impl RefUnwindSafe for GooglePrivacyDlpV2ImageTransformation
impl Send for GooglePrivacyDlpV2ImageTransformation
impl Sync for GooglePrivacyDlpV2ImageTransformation
impl Unpin for GooglePrivacyDlpV2ImageTransformation
impl UnwindSafe for GooglePrivacyDlpV2ImageTransformation
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
Mutably borrows from an owned value. Read more