[][src]Struct google_dlp2::GooglePrivacyDlpV2KAnonymityConfig

pub struct GooglePrivacyDlpV2KAnonymityConfig {
    pub entity_id: Option<GooglePrivacyDlpV2EntityId>,
    pub quasi_ids: Option<Vec<GooglePrivacyDlpV2FieldId>>,
}

k-anonymity metric, used for analysis of reidentification risk.

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

Fields

entity_id: Option<GooglePrivacyDlpV2EntityId>

Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account.

Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.

quasi_ids: Option<Vec<GooglePrivacyDlpV2FieldId>>

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.

Trait Implementations

impl Clone for GooglePrivacyDlpV2KAnonymityConfig[src]

impl Debug for GooglePrivacyDlpV2KAnonymityConfig[src]

impl Default for GooglePrivacyDlpV2KAnonymityConfig[src]

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

impl Part for GooglePrivacyDlpV2KAnonymityConfig[src]

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