Struct aws_sdk_appfabric::types::UserAccessResultItem
source · #[non_exhaustive]pub struct UserAccessResultItem {
pub app: Option<String>,
pub tenant_id: Option<String>,
pub tenant_display_name: Option<String>,
pub task_id: Option<String>,
pub result_status: Option<ResultStatus>,
pub email: Option<String>,
pub user_id: Option<String>,
pub user_full_name: Option<String>,
pub user_first_name: Option<String>,
pub user_last_name: Option<String>,
pub user_status: Option<String>,
pub task_error: Option<TaskError>,
}
Expand description
Contains information about a user's access to an application.
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.app: Option<String>
The name of the application.
tenant_id: Option<String>
The ID of the application tenant.
tenant_display_name: Option<String>
The display name of the tenant.
task_id: Option<String>
The unique ID of the task.
result_status: Option<ResultStatus>
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
email: Option<String>
The email address of the target user.
user_id: Option<String>
The unique ID of user.
user_full_name: Option<String>
The full name of the user.
user_first_name: Option<String>
The first name of the user.
user_last_name: Option<String>
The last name of the user.
user_status: Option<String>
The status of the user returned by the application.
task_error: Option<TaskError>
Contains information about an error returned from a user access task.
Implementations§
source§impl UserAccessResultItem
impl UserAccessResultItem
sourcepub fn tenant_display_name(&self) -> Option<&str>
pub fn tenant_display_name(&self) -> Option<&str>
The display name of the tenant.
sourcepub fn result_status(&self) -> Option<&ResultStatus>
pub fn result_status(&self) -> Option<&ResultStatus>
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
sourcepub fn user_full_name(&self) -> Option<&str>
pub fn user_full_name(&self) -> Option<&str>
The full name of the user.
sourcepub fn user_first_name(&self) -> Option<&str>
pub fn user_first_name(&self) -> Option<&str>
The first name of the user.
sourcepub fn user_last_name(&self) -> Option<&str>
pub fn user_last_name(&self) -> Option<&str>
The last name of the user.
sourcepub fn user_status(&self) -> Option<&str>
pub fn user_status(&self) -> Option<&str>
The status of the user returned by the application.
sourcepub fn task_error(&self) -> Option<&TaskError>
pub fn task_error(&self) -> Option<&TaskError>
Contains information about an error returned from a user access task.
source§impl UserAccessResultItem
impl UserAccessResultItem
sourcepub fn builder() -> UserAccessResultItemBuilder
pub fn builder() -> UserAccessResultItemBuilder
Creates a new builder-style object to manufacture UserAccessResultItem
.
Trait Implementations§
source§impl Clone for UserAccessResultItem
impl Clone for UserAccessResultItem
source§fn clone(&self) -> UserAccessResultItem
fn clone(&self) -> UserAccessResultItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserAccessResultItem
impl Debug for UserAccessResultItem
source§impl PartialEq<UserAccessResultItem> for UserAccessResultItem
impl PartialEq<UserAccessResultItem> for UserAccessResultItem
source§fn eq(&self, other: &UserAccessResultItem) -> bool
fn eq(&self, other: &UserAccessResultItem) -> bool
self
and other
values to be equal, and is used
by ==
.