pub struct GooglePrivacyDlpV2beta1TransientCryptoKey {
pub name: Option<String>,
}
Expand description
Use this to have a random data crypto key generated. It will be discarded after the operation/request finishes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
Name of the key. [required]
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 GooglePrivacyDlpV2beta1TransientCryptoKey
impl Clone for GooglePrivacyDlpV2beta1TransientCryptoKey
source§fn clone(&self) -> GooglePrivacyDlpV2beta1TransientCryptoKey
fn clone(&self) -> GooglePrivacyDlpV2beta1TransientCryptoKey
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 GooglePrivacyDlpV2beta1TransientCryptoKey
impl Default for GooglePrivacyDlpV2beta1TransientCryptoKey
source§fn default() -> GooglePrivacyDlpV2beta1TransientCryptoKey
fn default() -> GooglePrivacyDlpV2beta1TransientCryptoKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1TransientCryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1TransientCryptoKey
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 GooglePrivacyDlpV2beta1TransientCryptoKey
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1TransientCryptoKey
impl Send for GooglePrivacyDlpV2beta1TransientCryptoKey
impl Sync for GooglePrivacyDlpV2beta1TransientCryptoKey
impl Unpin for GooglePrivacyDlpV2beta1TransientCryptoKey
impl UnwindSafe for GooglePrivacyDlpV2beta1TransientCryptoKey
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