#[non_exhaustive]pub struct EncryptionKey {
pub provider: Provider,
pub kms_key: String,
/* private fields */
}Expand description
The encryption key used to encrypt the Autonomous Database.
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.provider: ProviderOptional. The provider of the encryption key.
kms_key: StringOptional. The KMS key used to encrypt the Autonomous Database.
This field is required if the provider is GOOGLE_MANAGED.
The name of the KMS key resource in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
Implementations§
Source§impl EncryptionKey
impl EncryptionKey
Trait Implementations§
Source§impl Clone for EncryptionKey
impl Clone for EncryptionKey
Source§fn clone(&self) -> EncryptionKey
fn clone(&self) -> EncryptionKey
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 Debug for EncryptionKey
impl Debug for EncryptionKey
Source§impl Default for EncryptionKey
impl Default for EncryptionKey
Source§fn default() -> EncryptionKey
fn default() -> EncryptionKey
Returns the “default value” for a type. Read more
Source§impl Message for EncryptionKey
impl Message for EncryptionKey
Source§impl PartialEq for EncryptionKey
impl PartialEq for EncryptionKey
impl StructuralPartialEq for EncryptionKey
Auto Trait Implementations§
impl Freeze for EncryptionKey
impl RefUnwindSafe for EncryptionKey
impl Send for EncryptionKey
impl Sync for EncryptionKey
impl Unpin for EncryptionKey
impl UnsafeUnpin for EncryptionKey
impl UnwindSafe for EncryptionKey
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