pub struct BucketEncryptionGoogleManagedEncryptionEnforcementConfig {
pub effective_time: Option<DateTime<Utc>>,
pub restriction_mode: Option<String>,
}Expand description
If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Google Managed Encryption type by default.
This type is not used in any activity, and only used as part of another schema.
Fields§
§effective_time: Option<DateTime<Utc>>Server-determined value that indicates the time from which configuration was enforced and effective. This value is in RFC 3339 format.
restriction_mode: Option<String>Restriction mode for Google-Managed Encryption Keys. Defaults to NotRestricted.
Trait Implementations§
Source§impl Clone for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Clone for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
Source§fn clone(&self) -> BucketEncryptionGoogleManagedEncryptionEnforcementConfig
fn clone(&self) -> BucketEncryptionGoogleManagedEncryptionEnforcementConfig
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 BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Default for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
Source§fn default() -> BucketEncryptionGoogleManagedEncryptionEnforcementConfig
fn default() -> BucketEncryptionGoogleManagedEncryptionEnforcementConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl<'de> Deserialize<'de> for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
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 NestedType for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Part for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
Auto Trait Implementations§
impl Freeze for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl RefUnwindSafe for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Send for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Sync for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl Unpin for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
impl UnwindSafe for BucketEncryptionGoogleManagedEncryptionEnforcementConfig
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