Struct gapi_grpc::google::privacy::dlp::v2::CryptoHashConfig[][src]

pub struct CryptoHashConfig {
    pub crypto_key: Option<CryptoKey>,
}

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more.

Fields

crypto_key: Option<CryptoKey>

The key used by the hash function.

Trait Implementations

impl Clone for CryptoHashConfig[src]

impl Debug for CryptoHashConfig[src]

impl Default for CryptoHashConfig[src]

impl Message for CryptoHashConfig[src]

impl PartialEq<CryptoHashConfig> for CryptoHashConfig[src]

impl StructuralPartialEq for CryptoHashConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for CryptoHashConfig

impl Send for CryptoHashConfig

impl Sync for CryptoHashConfig

impl Unpin for CryptoHashConfig

impl UnwindSafe for CryptoHashConfig

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]