Struct aws_sdk_connect::types::User
source · #[non_exhaustive]pub struct User {
pub id: Option<String>,
pub arn: Option<String>,
pub username: Option<String>,
pub identity_info: Option<UserIdentityInfo>,
pub phone_config: Option<UserPhoneConfig>,
pub directory_user_id: Option<String>,
pub security_profile_ids: Option<Vec<String>>,
pub routing_profile_id: Option<String>,
pub hierarchy_group_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
}
Expand description
Contains information about a user account for an Amazon Connect instance.
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.id: Option<String>
The identifier of the user account.
arn: Option<String>
The Amazon Resource Name (ARN) of the user account.
username: Option<String>
The user name assigned to the user account.
identity_info: Option<UserIdentityInfo>
Information about the user identity.
phone_config: Option<UserPhoneConfig>
Information about the phone configuration for the user.
directory_user_id: Option<String>
The identifier of the user account in the directory used for identity management.
security_profile_ids: Option<Vec<String>>
The identifiers of the security profiles for the user.
routing_profile_id: Option<String>
The identifier of the routing profile for the user.
hierarchy_group_id: Option<String>
The identifier of the hierarchy group for the user.
The tags.
last_modified_time: Option<DateTime>
The timestamp when this resource was last modified.
last_modified_region: Option<String>
The Amazon Web Services Region where this resource was last modified.
Implementations§
source§impl User
impl User
sourcepub fn identity_info(&self) -> Option<&UserIdentityInfo>
pub fn identity_info(&self) -> Option<&UserIdentityInfo>
Information about the user identity.
sourcepub fn phone_config(&self) -> Option<&UserPhoneConfig>
pub fn phone_config(&self) -> Option<&UserPhoneConfig>
Information about the phone configuration for the user.
sourcepub fn directory_user_id(&self) -> Option<&str>
pub fn directory_user_id(&self) -> Option<&str>
The identifier of the user account in the directory used for identity management.
sourcepub fn security_profile_ids(&self) -> &[String]
pub fn security_profile_ids(&self) -> &[String]
The identifiers of the security profiles for the user.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_profile_ids.is_none()
.
sourcepub fn routing_profile_id(&self) -> Option<&str>
pub fn routing_profile_id(&self) -> Option<&str>
The identifier of the routing profile for the user.
sourcepub fn hierarchy_group_id(&self) -> Option<&str>
pub fn hierarchy_group_id(&self) -> Option<&str>
The identifier of the hierarchy group for the user.
The tags.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
The Amazon Web Services Region where this resource was last modified.
Trait Implementations§
source§impl PartialEq for User
impl PartialEq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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