[][src]Struct google_dlp2::GooglePrivacyDlpV2Finding

pub struct GooglePrivacyDlpV2Finding {
    pub quote_info: Option<GooglePrivacyDlpV2QuoteInfo>,
    pub info_type: Option<GooglePrivacyDlpV2InfoType>,
    pub location: Option<GooglePrivacyDlpV2Location>,
    pub quote: Option<String>,
    pub likelihood: Option<String>,
    pub create_time: Option<String>,
}

Represents a piece of potentially sensitive content.

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

Fields

quote_info: Option<GooglePrivacyDlpV2QuoteInfo>

Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.

info_type: Option<GooglePrivacyDlpV2InfoType>

The type of content that might have been found. Provided if excluded_types is false.

location: Option<GooglePrivacyDlpV2Location>

Where the content was found.

quote: Option<String>

The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if include_quote is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.

likelihood: Option<String>

Confidence of how likely it is that the info_type is correct.

create_time: Option<String>

Timestamp when finding was detected.

Trait Implementations

impl Part for GooglePrivacyDlpV2Finding[src]

impl Default for GooglePrivacyDlpV2Finding[src]

impl Clone for GooglePrivacyDlpV2Finding[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2Finding[src]

impl Serialize for GooglePrivacyDlpV2Finding[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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