Struct aws_sdk_chime::types::Account
source · #[non_exhaustive]pub struct Account {
pub aws_account_id: String,
pub account_id: String,
pub name: String,
pub account_type: Option<AccountType>,
pub created_timestamp: Option<DateTime>,
pub default_license: Option<License>,
pub supported_licenses: Option<Vec<License>>,
pub account_status: Option<AccountStatus>,
pub signin_delegate_groups: Option<Vec<SigninDelegateGroup>>,
}Expand description
The Amazon Chime account details. An AWS account can have multiple Amazon Chime accounts.
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.aws_account_id: StringThe AWS account ID.
account_id: StringThe Amazon Chime account ID.
name: StringThe Amazon Chime account name.
account_type: Option<AccountType>The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
created_timestamp: Option<DateTime>The Amazon Chime account creation timestamp, in ISO 8601 format.
default_license: Option<License>The default license for the Amazon Chime account.
supported_licenses: Option<Vec<License>>Supported licenses for the Amazon Chime account.
account_status: Option<AccountStatus>The status of the account.
signin_delegate_groups: Option<Vec<SigninDelegateGroup>>The sign-in delegate groups associated with the account.
Implementations§
source§impl Account
impl Account
sourcepub fn aws_account_id(&self) -> &str
pub fn aws_account_id(&self) -> &str
The AWS account ID.
sourcepub fn account_id(&self) -> &str
pub fn account_id(&self) -> &str
The Amazon Chime account ID.
sourcepub fn account_type(&self) -> Option<&AccountType>
pub fn account_type(&self) -> Option<&AccountType>
The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The Amazon Chime account creation timestamp, in ISO 8601 format.
sourcepub fn default_license(&self) -> Option<&License>
pub fn default_license(&self) -> Option<&License>
The default license for the Amazon Chime account.
sourcepub fn supported_licenses(&self) -> &[License]
pub fn supported_licenses(&self) -> &[License]
Supported licenses for the Amazon Chime account.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_licenses.is_none().
sourcepub fn account_status(&self) -> Option<&AccountStatus>
pub fn account_status(&self) -> Option<&AccountStatus>
The status of the account.
sourcepub fn signin_delegate_groups(&self) -> &[SigninDelegateGroup]
pub fn signin_delegate_groups(&self) -> &[SigninDelegateGroup]
The sign-in delegate groups associated with the account.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .signin_delegate_groups.is_none().
Trait Implementations§
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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