Struct aws_sdk_iam::model::PolicyUser [−][src]
#[non_exhaustive]pub struct PolicyUser {
pub user_name: Option<String>,
pub user_id: Option<String>,
}
Expand description
Contains information about a user that a managed policy is attached to.
This data type is used as a response element in the ListEntitiesForPolicy operation.
For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.
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.user_name: Option<String>
The name (friendly name, not ARN) identifying the user.
user_id: Option<String>
The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
Implementations
Creates a new builder-style object to manufacture PolicyUser
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PolicyUser
impl Send for PolicyUser
impl Sync for PolicyUser
impl Unpin for PolicyUser
impl UnwindSafe for PolicyUser
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more