[][src]Struct google_dlp2::GooglePrivacyDlpV2ExclusionRule

pub struct GooglePrivacyDlpV2ExclusionRule {
    pub regex: Option<GooglePrivacyDlpV2Regex>,
    pub exclude_info_types: Option<GooglePrivacyDlpV2ExcludeInfoTypes>,
    pub dictionary: Option<GooglePrivacyDlpV2Dictionary>,
    pub matching_type: Option<String>,
}

The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.

This type is not used in any activity, and only used as part of another schema.

Fields

regex: Option<GooglePrivacyDlpV2Regex>

Regular expression which defines the rule.

exclude_info_types: Option<GooglePrivacyDlpV2ExcludeInfoTypes>

Set of infoTypes for which findings would affect this rule.

dictionary: Option<GooglePrivacyDlpV2Dictionary>

Dictionary which defines the rule.

matching_type: Option<String>

How the rule is applied, see MatchingType documentation for details.

Trait Implementations

impl Clone for GooglePrivacyDlpV2ExclusionRule[src]

impl Debug for GooglePrivacyDlpV2ExclusionRule[src]

impl Default for GooglePrivacyDlpV2ExclusionRule[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2ExclusionRule[src]

impl Part for GooglePrivacyDlpV2ExclusionRule[src]

impl Serialize for GooglePrivacyDlpV2ExclusionRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any