pub struct GoogleFirestoreAdminV1EncryptionConfig {
pub customer_managed_encryption: Option<GoogleFirestoreAdminV1CustomerManagedEncryptionOptions>,
pub google_default_encryption: Option<GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions>,
pub use_source_encryption: Option<GoogleFirestoreAdminV1SourceEncryptionOptions>,
}Expand description
Encryption configuration for a new database being created from another source. The source could be a Backup or a PitrSnapshot.
This type is not used in any activity, and only used as part of another schema.
Fields§
§customer_managed_encryption: Option<GoogleFirestoreAdminV1CustomerManagedEncryptionOptions>Use Customer Managed Encryption Keys (CMEK) for encryption.
google_default_encryption: Option<GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions>Use Google default encryption.
use_source_encryption: Option<GoogleFirestoreAdminV1SourceEncryptionOptions>The database will use the same encryption configuration as the source.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1EncryptionConfig
impl Clone for GoogleFirestoreAdminV1EncryptionConfig
Source§fn clone(&self) -> GoogleFirestoreAdminV1EncryptionConfig
fn clone(&self) -> GoogleFirestoreAdminV1EncryptionConfig
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 GoogleFirestoreAdminV1EncryptionConfig
impl Default for GoogleFirestoreAdminV1EncryptionConfig
Source§fn default() -> GoogleFirestoreAdminV1EncryptionConfig
fn default() -> GoogleFirestoreAdminV1EncryptionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1EncryptionConfig
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1EncryptionConfig
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 GoogleFirestoreAdminV1EncryptionConfig
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1EncryptionConfig
impl RefUnwindSafe for GoogleFirestoreAdminV1EncryptionConfig
impl Send for GoogleFirestoreAdminV1EncryptionConfig
impl Sync for GoogleFirestoreAdminV1EncryptionConfig
impl Unpin for GoogleFirestoreAdminV1EncryptionConfig
impl UnwindSafe for GoogleFirestoreAdminV1EncryptionConfig
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