#[non_exhaustive]pub struct DefaultServerSideEncryption {
pub encryption_type: Option<String>,
pub kms_master_key_arn: Option<String>,
}Expand description
Contains information on the server side encryption method used in the S3 bucket. See S3 Server-Side Encryption for more information.
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.encryption_type: Option<String>The type of encryption used for objects within the S3 bucket.
kms_master_key_arn: Option<String>The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
Implementations§
source§impl DefaultServerSideEncryption
impl DefaultServerSideEncryption
sourcepub fn encryption_type(&self) -> Option<&str>
pub fn encryption_type(&self) -> Option<&str>
The type of encryption used for objects within the S3 bucket.
sourcepub fn kms_master_key_arn(&self) -> Option<&str>
pub fn kms_master_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
source§impl DefaultServerSideEncryption
impl DefaultServerSideEncryption
sourcepub fn builder() -> DefaultServerSideEncryptionBuilder
pub fn builder() -> DefaultServerSideEncryptionBuilder
Creates a new builder-style object to manufacture DefaultServerSideEncryption.
Trait Implementations§
source§impl Clone for DefaultServerSideEncryption
impl Clone for DefaultServerSideEncryption
source§fn clone(&self) -> DefaultServerSideEncryption
fn clone(&self) -> DefaultServerSideEncryption
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 Debug for DefaultServerSideEncryption
impl Debug for DefaultServerSideEncryption
source§impl PartialEq for DefaultServerSideEncryption
impl PartialEq for DefaultServerSideEncryption
source§fn eq(&self, other: &DefaultServerSideEncryption) -> bool
fn eq(&self, other: &DefaultServerSideEncryption) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DefaultServerSideEncryption
Auto Trait Implementations§
impl RefUnwindSafe for DefaultServerSideEncryption
impl Send for DefaultServerSideEncryption
impl Sync for DefaultServerSideEncryption
impl Unpin for DefaultServerSideEncryption
impl UnwindSafe for DefaultServerSideEncryption
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.