pub struct BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig {
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 Customer Supplied 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 Customer-Supplied Encryption Keys. Defaults to NotRestricted.
Trait Implementations§
Source§impl Clone for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Clone for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
Source§fn clone(&self) -> BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
fn clone(&self) -> BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
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 BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Default for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
Source§fn default() -> BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
fn default() -> BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl<'de> Deserialize<'de> for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
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 BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Part for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
Auto Trait Implementations§
impl Freeze for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl RefUnwindSafe for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Send for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Sync for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl Unpin for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
impl UnwindSafe for BucketEncryptionCustomerSuppliedEncryptionEnforcementConfig
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