#[non_exhaustive]pub struct ServiceSpecificCredentialMetadata {
pub user_name: String,
pub status: StatusType,
pub service_user_name: String,
pub create_date: DateTime,
pub service_specific_credential_id: String,
pub service_name: String,
}Expand description
Contains additional details about a service-specific credential.
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.user_name: StringThe name of the IAM user associated with the service-specific credential.
status: StatusTypeThe status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
service_user_name: StringThe generated user name for the service-specific credential.
create_date: DateTimeThe date and time, in ISO 8601 date-time format, when the service-specific credential were created.
service_specific_credential_id: StringThe unique identifier for the service-specific credential.
service_name: StringThe name of the service associated with the service-specific credential.
Implementations§
source§impl ServiceSpecificCredentialMetadata
impl ServiceSpecificCredentialMetadata
sourcepub fn user_name(&self) -> &str
pub fn user_name(&self) -> &str
The name of the IAM user associated with the service-specific credential.
sourcepub fn status(&self) -> &StatusType
pub fn status(&self) -> &StatusType
The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
sourcepub fn service_user_name(&self) -> &str
pub fn service_user_name(&self) -> &str
The generated user name for the service-specific credential.
sourcepub fn create_date(&self) -> &DateTime
pub fn create_date(&self) -> &DateTime
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
sourcepub fn service_specific_credential_id(&self) -> &str
pub fn service_specific_credential_id(&self) -> &str
The unique identifier for the service-specific credential.
sourcepub fn service_name(&self) -> &str
pub fn service_name(&self) -> &str
The name of the service associated with the service-specific credential.
source§impl ServiceSpecificCredentialMetadata
impl ServiceSpecificCredentialMetadata
sourcepub fn builder() -> ServiceSpecificCredentialMetadataBuilder
pub fn builder() -> ServiceSpecificCredentialMetadataBuilder
Creates a new builder-style object to manufacture ServiceSpecificCredentialMetadata.
Trait Implementations§
source§impl Clone for ServiceSpecificCredentialMetadata
impl Clone for ServiceSpecificCredentialMetadata
source§fn clone(&self) -> ServiceSpecificCredentialMetadata
fn clone(&self) -> ServiceSpecificCredentialMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ServiceSpecificCredentialMetadata
impl PartialEq for ServiceSpecificCredentialMetadata
source§fn eq(&self, other: &ServiceSpecificCredentialMetadata) -> bool
fn eq(&self, other: &ServiceSpecificCredentialMetadata) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServiceSpecificCredentialMetadata
Auto Trait Implementations§
impl Freeze for ServiceSpecificCredentialMetadata
impl RefUnwindSafe for ServiceSpecificCredentialMetadata
impl Send for ServiceSpecificCredentialMetadata
impl Sync for ServiceSpecificCredentialMetadata
impl Unpin for ServiceSpecificCredentialMetadata
impl UnwindSafe for ServiceSpecificCredentialMetadata
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