Struct aws_sdk_codestar::model::UserProfileSummary
source · [−]#[non_exhaustive]pub struct UserProfileSummary {
pub user_arn: Option<String>,
pub display_name: Option<String>,
pub email_address: Option<String>,
pub ssh_public_key: Option<String>,
}
Expand description
Information about a user's profile in AWS CodeStar.
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_arn: Option<String>
The Amazon Resource Name (ARN) of the user in IAM.
display_name: Option<String>
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
email_address: Option<String>
The email address associated with the user.
ssh_public_key: Option<String>
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
Implementations
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
The email address associated with the user.
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
Creates a new builder-style object to manufacture UserProfileSummary
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 UserProfileSummary
impl Send for UserProfileSummary
impl Sync for UserProfileSummary
impl Unpin for UserProfileSummary
impl UnwindSafe for UserProfileSummary
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