Struct gapi_grpc::google::privacy::dlp::v2::privacy_metric::KAnonymityConfig[][src]

pub struct KAnonymityConfig {
    pub quasi_ids: Vec<FieldId>,
    pub entity_id: Option<EntityId>,
}

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

Fields

quasi_ids: Vec<FieldId>

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.

entity_id: Option<EntityId>

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.

Trait Implementations

impl Clone for KAnonymityConfig[src]

impl Debug for KAnonymityConfig[src]

impl Default for KAnonymityConfig[src]

impl Message for KAnonymityConfig[src]

impl PartialEq<KAnonymityConfig> for KAnonymityConfig[src]

impl StructuralPartialEq for KAnonymityConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for KAnonymityConfig

impl Send for KAnonymityConfig

impl Sync for KAnonymityConfig

impl Unpin for KAnonymityConfig

impl UnwindSafe for KAnonymityConfig

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]