[][src]Struct google_dlp2::GooglePrivacyDlpV2LikelihoodAdjustment

pub struct GooglePrivacyDlpV2LikelihoodAdjustment {
    pub relative_likelihood: Option<i32>,
    pub fixed_likelihood: Option<String>,
}

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

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

Fields

relative_likelihood: Option<i32>

Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relative_likelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY.

fixed_likelihood: Option<String>

Set the likelihood of a finding to a fixed value.

Trait Implementations

impl Clone for GooglePrivacyDlpV2LikelihoodAdjustment[src]

impl Debug for GooglePrivacyDlpV2LikelihoodAdjustment[src]

impl Default for GooglePrivacyDlpV2LikelihoodAdjustment[src]

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

impl Part for GooglePrivacyDlpV2LikelihoodAdjustment[src]

impl Serialize for GooglePrivacyDlpV2LikelihoodAdjustment[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