#[non_exhaustive]pub struct AwsElasticsearchDomainEncryptionAtRestOptions {
pub enabled: Option<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: Option<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 Freeze for AwsElasticsearchDomainEncryptionAtRestOptions
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.