Struct aws_sdk_macie2::model::AwsAccount
source · [−]#[non_exhaustive]pub struct AwsAccount { /* private fields */ }
Expand description
Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for an Amazon Web Services account other than your own account.
Implementations
sourceimpl AwsAccount
impl AwsAccount
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The unique identifier for the entity that performed the action.
sourceimpl AwsAccount
impl AwsAccount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsAccount
.
Trait Implementations
sourceimpl Clone for AwsAccount
impl Clone for AwsAccount
sourcefn clone(&self) -> AwsAccount
fn clone(&self) -> AwsAccount
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 moresourceimpl Debug for AwsAccount
impl Debug for AwsAccount
sourceimpl PartialEq<AwsAccount> for AwsAccount
impl PartialEq<AwsAccount> for AwsAccount
sourcefn eq(&self, other: &AwsAccount) -> bool
fn eq(&self, other: &AwsAccount) -> bool
impl StructuralPartialEq for AwsAccount
Auto Trait Implementations
impl RefUnwindSafe for AwsAccount
impl Send for AwsAccount
impl Sync for AwsAccount
impl Unpin for AwsAccount
impl UnwindSafe for AwsAccount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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