#[non_exhaustive]pub struct GetKeyLastUsageOutput {
pub key_id: Option<String>,
pub key_last_usage: Option<KeyLastUsageData>,
pub tracking_start_date: Option<DateTime>,
pub key_creation_date: Option<DateTime>,
/* private fields */
}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_id: Option<String>The globally unique identifier for the KMS key.
key_last_usage: Option<KeyLastUsageData>Contains usage information about the last time the KMS key was used for a successful cryptographic operation. If the key has not been used since tracking began, this response element is empty.
tracking_start_date: Option<DateTime>The date from which KMS began recording cryptographic activity for this key, or the date the KMS key was created, whichever is later.
key_creation_date: Option<DateTime>The date and time when the KMS key was created.
Implementations§
Source§impl GetKeyLastUsageOutput
impl GetKeyLastUsageOutput
Sourcepub fn key_last_usage(&self) -> Option<&KeyLastUsageData>
pub fn key_last_usage(&self) -> Option<&KeyLastUsageData>
Contains usage information about the last time the KMS key was used for a successful cryptographic operation. If the key has not been used since tracking began, this response element is empty.
Sourcepub fn tracking_start_date(&self) -> Option<&DateTime>
pub fn tracking_start_date(&self) -> Option<&DateTime>
The date from which KMS began recording cryptographic activity for this key, or the date the KMS key was created, whichever is later.
Sourcepub fn key_creation_date(&self) -> Option<&DateTime>
pub fn key_creation_date(&self) -> Option<&DateTime>
The date and time when the KMS key was created.
Source§impl GetKeyLastUsageOutput
impl GetKeyLastUsageOutput
Sourcepub fn builder() -> GetKeyLastUsageOutputBuilder
pub fn builder() -> GetKeyLastUsageOutputBuilder
Creates a new builder-style object to manufacture GetKeyLastUsageOutput.
Trait Implementations§
Source§impl Clone for GetKeyLastUsageOutput
impl Clone for GetKeyLastUsageOutput
Source§fn clone(&self) -> GetKeyLastUsageOutput
fn clone(&self) -> GetKeyLastUsageOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetKeyLastUsageOutput
impl Debug for GetKeyLastUsageOutput
Source§impl PartialEq for GetKeyLastUsageOutput
impl PartialEq for GetKeyLastUsageOutput
Source§impl RequestId for GetKeyLastUsageOutput
impl RequestId for GetKeyLastUsageOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetKeyLastUsageOutput
Auto Trait Implementations§
impl Freeze for GetKeyLastUsageOutput
impl RefUnwindSafe for GetKeyLastUsageOutput
impl Send for GetKeyLastUsageOutput
impl Sync for GetKeyLastUsageOutput
impl Unpin for GetKeyLastUsageOutput
impl UnsafeUnpin for GetKeyLastUsageOutput
impl UnwindSafe for GetKeyLastUsageOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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