Struct aws_sdk_macie2::types::UnprocessedAccount
source · #[non_exhaustive]pub struct UnprocessedAccount {
pub account_id: Option<String>,
pub error_code: Option<ErrorCode>,
pub error_message: Option<String>,
}
Expand description
Provides information about an account-related request that hasn't been processed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 for the account that the request applies to.
error_code: Option<ErrorCode>
The source of the issue or delay in processing the request.
error_message: Option<String>
The reason why the request hasn't been processed.
Implementations§
source§impl UnprocessedAccount
impl UnprocessedAccount
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the account that the request applies to.
sourcepub fn error_code(&self) -> Option<&ErrorCode>
pub fn error_code(&self) -> Option<&ErrorCode>
The source of the issue or delay in processing the request.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The reason why the request hasn't been processed.
source§impl UnprocessedAccount
impl UnprocessedAccount
sourcepub fn builder() -> UnprocessedAccountBuilder
pub fn builder() -> UnprocessedAccountBuilder
Creates a new builder-style object to manufacture UnprocessedAccount
.
Trait Implementations§
source§impl Clone for UnprocessedAccount
impl Clone for UnprocessedAccount
source§fn clone(&self) -> UnprocessedAccount
fn clone(&self) -> UnprocessedAccount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnprocessedAccount
impl Debug for UnprocessedAccount
source§impl PartialEq for UnprocessedAccount
impl PartialEq for UnprocessedAccount
source§fn eq(&self, other: &UnprocessedAccount) -> bool
fn eq(&self, other: &UnprocessedAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnprocessedAccount
Auto Trait Implementations§
impl RefUnwindSafe for UnprocessedAccount
impl Send for UnprocessedAccount
impl Sync for UnprocessedAccount
impl Unpin for UnprocessedAccount
impl UnwindSafe for UnprocessedAccount
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.