#[non_exhaustive]pub struct AccountEnrollmentStatus {
pub account_id: Option<String>,
pub status: Option<Status>,
pub status_reason: Option<String>,
pub last_updated_timestamp: Option<DateTime>,
}
Expand description
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
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.account_id: Option<String>
The Amazon Web Services account ID.
status: Option<Status>
The account enrollment status.
status_reason: Option<String>
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
last_updated_timestamp: Option<DateTime>
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
Implementations§
source§impl AccountEnrollmentStatus
impl AccountEnrollmentStatus
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member accounts of an organization require more time to be enrolled in the service.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
source§impl AccountEnrollmentStatus
impl AccountEnrollmentStatus
sourcepub fn builder() -> AccountEnrollmentStatusBuilder
pub fn builder() -> AccountEnrollmentStatusBuilder
Creates a new builder-style object to manufacture AccountEnrollmentStatus
.
Trait Implementations§
source§impl Clone for AccountEnrollmentStatus
impl Clone for AccountEnrollmentStatus
source§fn clone(&self) -> AccountEnrollmentStatus
fn clone(&self) -> AccountEnrollmentStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountEnrollmentStatus
impl Debug for AccountEnrollmentStatus
source§impl PartialEq for AccountEnrollmentStatus
impl PartialEq for AccountEnrollmentStatus
source§fn eq(&self, other: &AccountEnrollmentStatus) -> bool
fn eq(&self, other: &AccountEnrollmentStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountEnrollmentStatus
Auto Trait Implementations§
impl Freeze for AccountEnrollmentStatus
impl RefUnwindSafe for AccountEnrollmentStatus
impl Send for AccountEnrollmentStatus
impl Sync for AccountEnrollmentStatus
impl Unpin for AccountEnrollmentStatus
impl UnwindSafe for AccountEnrollmentStatus
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