[][src]Struct rusoto_s3::Encryption

pub struct Encryption {
    pub encryption_type: String,
    pub kms_context: Option<String>,
    pub kms_key_id: Option<String>,
}

Contains the type of server-side encryption used.

Fields

encryption_type: String

The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).

kms_context: Option<String>

If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.

kms_key_id: Option<String>

If the encryption type is aws:kms, this optional value specifies the ID of the symmetric customer managed AWS KMS CMK to use for encryption of job results. Amazon S3 only supports symmetric CMKs. For more information, see Using Symmetric and Asymmetric Keys in the AWS Key Management Service Developer Guide.

Trait Implementations

impl Clone for Encryption[src]

impl Debug for Encryption[src]

impl Default for Encryption[src]

impl PartialEq<Encryption> for Encryption[src]

impl StructuralPartialEq for Encryption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.