Struct aws_sdk_iam::model::AccessKeyMetadata
source · [−]#[non_exhaustive]pub struct AccessKeyMetadata { /* private fields */ }Expand description
Contains information about an Amazon Web Services access key, without its secret key.
This data type is used as a response element in the ListAccessKeys operation.
Implementations
sourceimpl AccessKeyMetadata
impl AccessKeyMetadata
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The name of the IAM user that the key is associated with.
sourcepub fn access_key_id(&self) -> Option<&str>
pub fn access_key_id(&self) -> Option<&str>
The ID for this access key.
sourcepub fn status(&self) -> Option<&StatusType>
pub fn status(&self) -> Option<&StatusType>
The status of the access key. Active means that the key is valid for API calls; Inactive means it is not.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date when the access key was created.
sourceimpl AccessKeyMetadata
impl AccessKeyMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessKeyMetadata.
Trait Implementations
sourceimpl Clone for AccessKeyMetadata
impl Clone for AccessKeyMetadata
sourcefn clone(&self) -> AccessKeyMetadata
fn clone(&self) -> AccessKeyMetadata
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 AccessKeyMetadata
impl Debug for AccessKeyMetadata
sourceimpl PartialEq<AccessKeyMetadata> for AccessKeyMetadata
impl PartialEq<AccessKeyMetadata> for AccessKeyMetadata
sourcefn eq(&self, other: &AccessKeyMetadata) -> bool
fn eq(&self, other: &AccessKeyMetadata) -> bool
impl StructuralPartialEq for AccessKeyMetadata
Auto Trait Implementations
impl RefUnwindSafe for AccessKeyMetadata
impl Send for AccessKeyMetadata
impl Sync for AccessKeyMetadata
impl Unpin for AccessKeyMetadata
impl UnwindSafe for AccessKeyMetadata
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