pub struct ServerSideEncryptionRule {
pub apply_server_side_encryption_by_default: Option<ServerSideEncryptionByDefault>,
}Expand description
Specifies the default server-side encryption configuration.
Fields§
§apply_server_side_encryption_by_default: Option<ServerSideEncryptionByDefault>Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
Trait Implementations§
Source§impl Clone for ServerSideEncryptionRule
impl Clone for ServerSideEncryptionRule
Source§fn clone(&self) -> ServerSideEncryptionRule
fn clone(&self) -> ServerSideEncryptionRule
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 Debug for ServerSideEncryptionRule
impl Debug for ServerSideEncryptionRule
Source§impl Default for ServerSideEncryptionRule
impl Default for ServerSideEncryptionRule
Source§fn default() -> ServerSideEncryptionRule
fn default() -> ServerSideEncryptionRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for ServerSideEncryptionRule
impl PartialEq for ServerSideEncryptionRule
impl StructuralPartialEq for ServerSideEncryptionRule
Auto Trait Implementations§
impl Freeze for ServerSideEncryptionRule
impl RefUnwindSafe for ServerSideEncryptionRule
impl Send for ServerSideEncryptionRule
impl Sync for ServerSideEncryptionRule
impl Unpin for ServerSideEncryptionRule
impl UnwindSafe for ServerSideEncryptionRule
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