Struct aws_sdk_codegurureviewer::types::KmsKeyDetails
source · #[non_exhaustive]pub struct KmsKeyDetails {
pub kms_key_id: Option<String>,
pub encryption_option: Option<EncryptionOption>,
}
Expand description
An object that contains:
-
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (
AWS_OWNED_CMK
) or customer managed (CUSTOMER_MANAGED_CMK
). -
The ID of the Amazon Web Services KMS key that is associated with a repository association.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kms_key_id: Option<String>
The ID of the Amazon Web Services KMS key that is associated with a repository association.
encryption_option: Option<EncryptionOption>
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or customer managed (CUSTOMER_MANAGED_CMK
).
Implementations§
source§impl KmsKeyDetails
impl KmsKeyDetails
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the Amazon Web Services KMS key that is associated with a repository association.
sourcepub fn encryption_option(&self) -> Option<&EncryptionOption>
pub fn encryption_option(&self) -> Option<&EncryptionOption>
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or customer managed (CUSTOMER_MANAGED_CMK
).
source§impl KmsKeyDetails
impl KmsKeyDetails
sourcepub fn builder() -> KmsKeyDetailsBuilder
pub fn builder() -> KmsKeyDetailsBuilder
Creates a new builder-style object to manufacture KmsKeyDetails
.
Trait Implementations§
source§impl Clone for KmsKeyDetails
impl Clone for KmsKeyDetails
source§fn clone(&self) -> KmsKeyDetails
fn clone(&self) -> KmsKeyDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KmsKeyDetails
impl Debug for KmsKeyDetails
source§impl PartialEq for KmsKeyDetails
impl PartialEq for KmsKeyDetails
source§fn eq(&self, other: &KmsKeyDetails) -> bool
fn eq(&self, other: &KmsKeyDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KmsKeyDetails
Auto Trait Implementations§
impl Freeze for KmsKeyDetails
impl RefUnwindSafe for KmsKeyDetails
impl Send for KmsKeyDetails
impl Sync for KmsKeyDetails
impl Unpin for KmsKeyDetails
impl UnwindSafe for KmsKeyDetails
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
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>
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>
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 more