Struct aws_sdk_codegurureviewer::model::KmsKeyDetails
source · [−]#[non_exhaustive]pub struct KmsKeyDetails { /* private fields */ }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 respository association.
Implementations
sourceimpl 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 respository 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).
sourceimpl KmsKeyDetails
impl KmsKeyDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture KmsKeyDetails.
Trait Implementations
sourceimpl Clone for KmsKeyDetails
impl Clone for KmsKeyDetails
sourcefn clone(&self) -> KmsKeyDetails
fn clone(&self) -> KmsKeyDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for KmsKeyDetails
impl Debug for KmsKeyDetails
sourceimpl PartialEq<KmsKeyDetails> for KmsKeyDetails
impl PartialEq<KmsKeyDetails> for KmsKeyDetails
sourcefn eq(&self, other: &KmsKeyDetails) -> bool
fn eq(&self, other: &KmsKeyDetails) -> bool
impl StructuralPartialEq for KmsKeyDetails
Auto Trait Implementations
impl RefUnwindSafe for KmsKeyDetails
impl Send for KmsKeyDetails
impl Sync for KmsKeyDetails
impl Unpin for KmsKeyDetails
impl UnwindSafe for KmsKeyDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more