#[non_exhaustive]pub struct ServiceSpecificCredentialMetadata {
pub user_name: Option<String>,
pub status: Option<StatusType>,
pub service_user_name: Option<String>,
pub create_date: Option<DateTime>,
pub service_specific_credential_id: Option<String>,
pub service_name: Option<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: Option<String>
The name of the IAM user associated with the service-specific credential.
status: Option<StatusType>
The 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: Option<String>
The generated user name for the service-specific credential.
create_date: Option<DateTime>
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
service_specific_credential_id: Option<String>
The unique identifier for the service-specific credential.
service_name: Option<String>
The name of the service associated with the service-specific credential.
Implementations
sourceimpl ServiceSpecificCredentialMetadata
impl ServiceSpecificCredentialMetadata
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The name of the IAM user associated with the service-specific credential.
sourcepub fn status(&self) -> Option<&StatusType>
pub fn status(&self) -> Option<&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) -> Option<&str>
pub fn service_user_name(&self) -> Option<&str>
The generated user name for the service-specific credential.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&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) -> Option<&str>
pub fn service_specific_credential_id(&self) -> Option<&str>
The unique identifier for the service-specific credential.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service associated with the service-specific credential.
sourceimpl ServiceSpecificCredentialMetadata
impl ServiceSpecificCredentialMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceSpecificCredentialMetadata
Trait Implementations
sourceimpl Clone for ServiceSpecificCredentialMetadata
impl Clone for ServiceSpecificCredentialMetadata
sourcefn clone(&self) -> ServiceSpecificCredentialMetadata
fn clone(&self) -> ServiceSpecificCredentialMetadata
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 more
sourceimpl PartialEq<ServiceSpecificCredentialMetadata> for ServiceSpecificCredentialMetadata
impl PartialEq<ServiceSpecificCredentialMetadata> for ServiceSpecificCredentialMetadata
sourcefn eq(&self, other: &ServiceSpecificCredentialMetadata) -> bool
fn eq(&self, other: &ServiceSpecificCredentialMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceSpecificCredentialMetadata) -> bool
fn ne(&self, other: &ServiceSpecificCredentialMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceSpecificCredentialMetadata
Auto Trait Implementations
impl RefUnwindSafe for ServiceSpecificCredentialMetadata
impl Send for ServiceSpecificCredentialMetadata
impl Sync for ServiceSpecificCredentialMetadata
impl Unpin for ServiceSpecificCredentialMetadata
impl UnwindSafe for ServiceSpecificCredentialMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more