pub struct GooglePrivacyDlpV2TransientCryptoKey {
pub name: Option<String>,
}Expand description
Use this to have a random data crypto key generated. It will be discarded after the request finishes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated).
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2TransientCryptoKey
impl Clone for GooglePrivacyDlpV2TransientCryptoKey
Source§fn clone(&self) -> GooglePrivacyDlpV2TransientCryptoKey
fn clone(&self) -> GooglePrivacyDlpV2TransientCryptoKey
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 GooglePrivacyDlpV2TransientCryptoKey
impl Default for GooglePrivacyDlpV2TransientCryptoKey
Source§fn default() -> GooglePrivacyDlpV2TransientCryptoKey
fn default() -> GooglePrivacyDlpV2TransientCryptoKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2TransientCryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2TransientCryptoKey
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 GooglePrivacyDlpV2TransientCryptoKey
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2TransientCryptoKey
impl RefUnwindSafe for GooglePrivacyDlpV2TransientCryptoKey
impl Send for GooglePrivacyDlpV2TransientCryptoKey
impl Sync for GooglePrivacyDlpV2TransientCryptoKey
impl Unpin for GooglePrivacyDlpV2TransientCryptoKey
impl UnwindSafe for GooglePrivacyDlpV2TransientCryptoKey
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