Struct aws_sdk_codecatalyst::types::UserIdentity
source · #[non_exhaustive]pub struct UserIdentity { /* private fields */ }
Expand description
Information about a user whose activity is recorded in an event for a space.
Implementations§
source§impl UserIdentity
impl UserIdentity
sourcepub fn user_type(&self) -> Option<&UserType>
pub fn user_type(&self) -> Option<&UserType>
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account number of the user in Amazon Web Services, if any.
source§impl UserIdentity
impl UserIdentity
sourcepub fn builder() -> UserIdentityBuilder
pub fn builder() -> UserIdentityBuilder
Creates a new builder-style object to manufacture UserIdentity
.
Trait Implementations§
source§impl Clone for UserIdentity
impl Clone for UserIdentity
source§fn clone(&self) -> UserIdentity
fn clone(&self) -> UserIdentity
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 UserIdentity
impl Debug for UserIdentity
source§impl PartialEq<UserIdentity> for UserIdentity
impl PartialEq<UserIdentity> for UserIdentity
source§fn eq(&self, other: &UserIdentity) -> bool
fn eq(&self, other: &UserIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.