Struct aws_sdk_paymentcryptography::types::KeySummary
source · #[non_exhaustive]pub struct KeySummary {
pub key_arn: String,
pub key_state: KeyState,
pub key_attributes: Option<KeyAttributes>,
pub key_check_value: String,
pub exportable: bool,
pub enabled: bool,
}Expand description
Metadata about an Amazon Web Services Payment Cryptography key.
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.key_arn: StringThe Amazon Resource Name (ARN) of the key.
key_state: KeyStateThe state of an Amazon Web Services Payment Cryptography that is being created or deleted.
key_attributes: Option<KeyAttributes>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
key_check_value: StringThe key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
exportable: boolSpecifies whether the key is exportable. This data is immutable after the key is created.
enabled: boolSpecifies whether the key is enabled.
Implementations§
source§impl KeySummary
impl KeySummary
sourcepub fn key_state(&self) -> &KeyState
pub fn key_state(&self) -> &KeyState
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
sourcepub fn key_attributes(&self) -> Option<&KeyAttributes>
pub fn key_attributes(&self) -> Option<&KeyAttributes>
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
sourcepub fn key_check_value(&self) -> &str
pub fn key_check_value(&self) -> &str
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
sourcepub fn exportable(&self) -> bool
pub fn exportable(&self) -> bool
Specifies whether the key is exportable. This data is immutable after the key is created.
source§impl KeySummary
impl KeySummary
sourcepub fn builder() -> KeySummaryBuilder
pub fn builder() -> KeySummaryBuilder
Creates a new builder-style object to manufacture KeySummary.
Trait Implementations§
source§impl Clone for KeySummary
impl Clone for KeySummary
source§fn clone(&self) -> KeySummary
fn clone(&self) -> KeySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KeySummary
impl Debug for KeySummary
source§impl PartialEq for KeySummary
impl PartialEq for KeySummary
source§fn eq(&self, other: &KeySummary) -> bool
fn eq(&self, other: &KeySummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KeySummary
Auto Trait Implementations§
impl Freeze for KeySummary
impl RefUnwindSafe for KeySummary
impl Send for KeySummary
impl Sync for KeySummary
impl Unpin for KeySummary
impl UnwindSafe for KeySummary
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