#[non_exhaustive]pub struct Automatic {
pub customer_managed_encryption: Option<CustomerManagedEncryption>,
}Expand description
A replication policy that replicates the Secret payload without any restrictions.
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.customer_managed_encryption: Option<CustomerManagedEncryption>Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.
Implementations§
Source§impl Automatic
impl Automatic
Sourcepub fn set_customer_managed_encryption<T: Into<Option<CustomerManagedEncryption>>>(
self,
v: T,
) -> Self
pub fn set_customer_managed_encryption<T: Into<Option<CustomerManagedEncryption>>>( self, v: T, ) -> Self
Sets the value of customer_managed_encryption.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Automatic
impl<'de> Deserialize<'de> for Automatic
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 StructuralPartialEq for Automatic
Auto Trait Implementations§
impl Freeze for Automatic
impl RefUnwindSafe for Automatic
impl Send for Automatic
impl Sync for Automatic
impl Unpin for Automatic
impl UnwindSafe for Automatic
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