Struct google_dlp2::GooglePrivacyDlpV2CryptoKey [−][src]
pub struct GooglePrivacyDlpV2CryptoKey { pub kms_wrapped: Option<GooglePrivacyDlpV2KmsWrappedCryptoKey>, pub unwrapped: Option<GooglePrivacyDlpV2UnwrappedCryptoKey>, pub transient: Option<GooglePrivacyDlpV2TransientCryptoKey>, }
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.
This type is not used in any activity, and only used as part of another schema.
Fields
kms_wrapped: Option<GooglePrivacyDlpV2KmsWrappedCryptoKey>
no description provided
unwrapped: Option<GooglePrivacyDlpV2UnwrappedCryptoKey>
no description provided
transient: Option<GooglePrivacyDlpV2TransientCryptoKey>
no description provided
Trait Implementations
impl Default for GooglePrivacyDlpV2CryptoKey
[src]
impl Default for GooglePrivacyDlpV2CryptoKey
fn default() -> GooglePrivacyDlpV2CryptoKey
[src]
fn default() -> GooglePrivacyDlpV2CryptoKey
Returns the "default value" for a type. Read more
impl Clone for GooglePrivacyDlpV2CryptoKey
[src]
impl Clone for GooglePrivacyDlpV2CryptoKey
fn clone(&self) -> GooglePrivacyDlpV2CryptoKey
[src]
fn clone(&self) -> GooglePrivacyDlpV2CryptoKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for GooglePrivacyDlpV2CryptoKey
[src]
impl Debug for GooglePrivacyDlpV2CryptoKey
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GooglePrivacyDlpV2CryptoKey
[src]
impl Part for GooglePrivacyDlpV2CryptoKey
Auto Trait Implementations
impl Send for GooglePrivacyDlpV2CryptoKey
impl Send for GooglePrivacyDlpV2CryptoKey
impl Sync for GooglePrivacyDlpV2CryptoKey
impl Sync for GooglePrivacyDlpV2CryptoKey