pub struct GooglePrivacyDlpV2DetectionRule {
pub hotword_rule: Option<GooglePrivacyDlpV2HotwordRule>,
}Expand description
Deprecated; use InspectionRuleSet instead. Rule for modifying a CustomInfoType to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the surrogate_type custom infoType.
This type is not used in any activity, and only used as part of another schema.
Fields§
§hotword_rule: Option<GooglePrivacyDlpV2HotwordRule>Hotword-based detection rule.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2DetectionRule
impl Clone for GooglePrivacyDlpV2DetectionRule
Source§fn clone(&self) -> GooglePrivacyDlpV2DetectionRule
fn clone(&self) -> GooglePrivacyDlpV2DetectionRule
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 GooglePrivacyDlpV2DetectionRule
impl Default for GooglePrivacyDlpV2DetectionRule
Source§fn default() -> GooglePrivacyDlpV2DetectionRule
fn default() -> GooglePrivacyDlpV2DetectionRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2DetectionRule
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2DetectionRule
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 GooglePrivacyDlpV2DetectionRule
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2DetectionRule
impl RefUnwindSafe for GooglePrivacyDlpV2DetectionRule
impl Send for GooglePrivacyDlpV2DetectionRule
impl Sync for GooglePrivacyDlpV2DetectionRule
impl Unpin for GooglePrivacyDlpV2DetectionRule
impl UnwindSafe for GooglePrivacyDlpV2DetectionRule
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