#[non_exhaustive]pub struct AwsS3BucketServerSideEncryptionByDefault {
    pub sse_algorithm: Option<String>,
    pub kms_master_key_id: Option<String>,
}Expand description
Specifies the default server-side encryption to apply to new objects in the bucket.
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.sse_algorithm: Option<String>Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms or AES256.
kms_master_key_id: Option<String>KMS key ID to use for the default encryption.
Implementations§
source§impl AwsS3BucketServerSideEncryptionByDefault
 
impl AwsS3BucketServerSideEncryptionByDefault
sourcepub fn sse_algorithm(&self) -> Option<&str>
 
pub fn sse_algorithm(&self) -> Option<&str>
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms or AES256.
sourcepub fn kms_master_key_id(&self) -> Option<&str>
 
pub fn kms_master_key_id(&self) -> Option<&str>
KMS key ID to use for the default encryption.
source§impl AwsS3BucketServerSideEncryptionByDefault
 
impl AwsS3BucketServerSideEncryptionByDefault
sourcepub fn builder() -> AwsS3BucketServerSideEncryptionByDefaultBuilder
 
pub fn builder() -> AwsS3BucketServerSideEncryptionByDefaultBuilder
Creates a new builder-style object to manufacture AwsS3BucketServerSideEncryptionByDefault.
Trait Implementations§
source§impl Clone for AwsS3BucketServerSideEncryptionByDefault
 
impl Clone for AwsS3BucketServerSideEncryptionByDefault
source§fn clone(&self) -> AwsS3BucketServerSideEncryptionByDefault
 
fn clone(&self) -> AwsS3BucketServerSideEncryptionByDefault
Returns a copy 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 PartialEq for AwsS3BucketServerSideEncryptionByDefault
 
impl PartialEq for AwsS3BucketServerSideEncryptionByDefault
source§fn eq(&self, other: &AwsS3BucketServerSideEncryptionByDefault) -> bool
 
fn eq(&self, other: &AwsS3BucketServerSideEncryptionByDefault) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsS3BucketServerSideEncryptionByDefault
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketServerSideEncryptionByDefault
impl Send for AwsS3BucketServerSideEncryptionByDefault
impl Sync for AwsS3BucketServerSideEncryptionByDefault
impl Unpin for AwsS3BucketServerSideEncryptionByDefault
impl UnwindSafe for AwsS3BucketServerSideEncryptionByDefault
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
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.