Struct rusoto_s3::Encryption [−][src]
pub struct Encryption {
pub encryption_type: String,
pub kms_context: Option<String>,
pub kms_key_id: Option<String>,
}Expand description
Contains the type of server-side encryption used.
Fields
encryption_type: StringThe 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
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnwindSafe for Encryption
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more