pub struct GooglePrivacyDlpV2CryptoHashConfig {
pub crypto_key: Option<GooglePrivacyDlpV2CryptoKey>,
}Expand description
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/sensitive-data-protection/docs/pseudonymization to learn more.
This type is not used in any activity, and only used as part of another schema.
Fields§
§crypto_key: Option<GooglePrivacyDlpV2CryptoKey>The key used by the hash function.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2CryptoHashConfig
impl Clone for GooglePrivacyDlpV2CryptoHashConfig
Source§fn clone(&self) -> GooglePrivacyDlpV2CryptoHashConfig
fn clone(&self) -> GooglePrivacyDlpV2CryptoHashConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GooglePrivacyDlpV2CryptoHashConfig
impl Default for GooglePrivacyDlpV2CryptoHashConfig
Source§fn default() -> GooglePrivacyDlpV2CryptoHashConfig
fn default() -> GooglePrivacyDlpV2CryptoHashConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CryptoHashConfig
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CryptoHashConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GooglePrivacyDlpV2CryptoHashConfig
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2CryptoHashConfig
impl RefUnwindSafe for GooglePrivacyDlpV2CryptoHashConfig
impl Send for GooglePrivacyDlpV2CryptoHashConfig
impl Sync for GooglePrivacyDlpV2CryptoHashConfig
impl Unpin for GooglePrivacyDlpV2CryptoHashConfig
impl UnwindSafe for GooglePrivacyDlpV2CryptoHashConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more