#[non_exhaustive]pub struct AwsElasticsearchDomainEncryptionAtRestOptions {
pub enabled: bool,
pub kms_key_id: Option<String>,
}
Expand description
Details about the configuration for encryption at rest.
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.enabled: bool
Whether encryption at rest is enabled.
kms_key_id: Option<String>
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a
.
Implementations§
source§impl AwsElasticsearchDomainEncryptionAtRestOptions
impl AwsElasticsearchDomainEncryptionAtRestOptions
sourcepub fn builder() -> AwsElasticsearchDomainEncryptionAtRestOptionsBuilder
pub fn builder() -> AwsElasticsearchDomainEncryptionAtRestOptionsBuilder
Creates a new builder-style object to manufacture AwsElasticsearchDomainEncryptionAtRestOptions
.
Trait Implementations§
source§impl Clone for AwsElasticsearchDomainEncryptionAtRestOptions
impl Clone for AwsElasticsearchDomainEncryptionAtRestOptions
source§fn clone(&self) -> AwsElasticsearchDomainEncryptionAtRestOptions
fn clone(&self) -> AwsElasticsearchDomainEncryptionAtRestOptions
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 AwsElasticsearchDomainEncryptionAtRestOptions
impl PartialEq for AwsElasticsearchDomainEncryptionAtRestOptions
source§fn eq(&self, other: &AwsElasticsearchDomainEncryptionAtRestOptions) -> bool
fn eq(&self, other: &AwsElasticsearchDomainEncryptionAtRestOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsElasticsearchDomainEncryptionAtRestOptions
Auto Trait Implementations§
impl RefUnwindSafe for AwsElasticsearchDomainEncryptionAtRestOptions
impl Send for AwsElasticsearchDomainEncryptionAtRestOptions
impl Sync for AwsElasticsearchDomainEncryptionAtRestOptions
impl Unpin for AwsElasticsearchDomainEncryptionAtRestOptions
impl UnwindSafe for AwsElasticsearchDomainEncryptionAtRestOptions
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