pub struct GooglePrivacyDlpV2beta1CryptoHashConfig {
pub crypto_key: Option<GooglePrivacyDlpV2beta1CryptoKey>,
}
Expand description
Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a 32 byte digest as an uppercase hex string (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). Currently, only string and integer values can be hashed.
This type is not used in any activity, and only used as part of another schema.
Fields§
§crypto_key: Option<GooglePrivacyDlpV2beta1CryptoKey>
The key used by the hash function.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1CryptoHashConfig
impl Clone for GooglePrivacyDlpV2beta1CryptoHashConfig
source§fn clone(&self) -> GooglePrivacyDlpV2beta1CryptoHashConfig
fn clone(&self) -> GooglePrivacyDlpV2beta1CryptoHashConfig
Returns a copy 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 GooglePrivacyDlpV2beta1CryptoHashConfig
impl Default for GooglePrivacyDlpV2beta1CryptoHashConfig
source§fn default() -> GooglePrivacyDlpV2beta1CryptoHashConfig
fn default() -> GooglePrivacyDlpV2beta1CryptoHashConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1CryptoHashConfig
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1CryptoHashConfig
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 GooglePrivacyDlpV2beta1CryptoHashConfig
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1CryptoHashConfig
impl Send for GooglePrivacyDlpV2beta1CryptoHashConfig
impl Sync for GooglePrivacyDlpV2beta1CryptoHashConfig
impl Unpin for GooglePrivacyDlpV2beta1CryptoHashConfig
impl UnwindSafe for GooglePrivacyDlpV2beta1CryptoHashConfig
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