#[non_exhaustive]pub struct Encryption {
pub kms_key: String,
/* private fields */
}Expand description
Encryption message describes the details of the applied encryption.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kms_key: StringRequired. The name of the encryption key that is stored in Google Cloud KMS.
Implementations§
Trait Implementations§
Source§impl Clone for Encryption
impl Clone for Encryption
Source§fn clone(&self) -> Encryption
fn clone(&self) -> Encryption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Encryption
impl Debug for Encryption
Source§impl Default for Encryption
impl Default for Encryption
Source§fn default() -> Encryption
fn default() -> Encryption
Returns the “default value” for a type. Read more
Source§impl PartialEq for Encryption
impl PartialEq for Encryption
Source§fn eq(&self, other: &Encryption) -> bool
fn eq(&self, other: &Encryption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Encryption
Auto Trait Implementations§
impl Freeze for Encryption
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnsafeUnpin for Encryption
impl UnwindSafe for Encryption
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