#[non_exhaustive]pub struct DescribeUserProfileOutput {
pub user_arn: Option<String>,
pub display_name: Option<String>,
pub email_address: Option<String>,
pub ssh_public_key: Option<String>,
pub created_timestamp: Option<DateTime>,
pub last_modified_timestamp: Option<DateTime>,
/* private fields */
}
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.
display_name: Option<String>
The display name shown for the user in AWS CodeStar projects. 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 for the user. Optional.
ssh_public_key: Option<String>
The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
created_timestamp: Option<DateTime>
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
last_modified_timestamp: Option<DateTime>
The date and time when the user profile was last modified, in timestamp format.
Implementations§
source§impl DescribeUserProfileOutput
impl DescribeUserProfileOutput
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name shown for the user in AWS CodeStar projects. 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").
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
The email address for the user. Optional.
sourcepub fn ssh_public_key(&self) -> Option<&str>
pub fn ssh_public_key(&self) -> Option<&str>
The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
sourcepub fn last_modified_timestamp(&self) -> Option<&DateTime>
pub fn last_modified_timestamp(&self) -> Option<&DateTime>
The date and time when the user profile was last modified, in timestamp format.
source§impl DescribeUserProfileOutput
impl DescribeUserProfileOutput
sourcepub fn builder() -> DescribeUserProfileOutputBuilder
pub fn builder() -> DescribeUserProfileOutputBuilder
Creates a new builder-style object to manufacture DescribeUserProfileOutput
.
Trait Implementations§
source§impl Clone for DescribeUserProfileOutput
impl Clone for DescribeUserProfileOutput
source§fn clone(&self) -> DescribeUserProfileOutput
fn clone(&self) -> DescribeUserProfileOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeUserProfileOutput
impl Debug for DescribeUserProfileOutput
source§impl PartialEq<DescribeUserProfileOutput> for DescribeUserProfileOutput
impl PartialEq<DescribeUserProfileOutput> for DescribeUserProfileOutput
source§fn eq(&self, other: &DescribeUserProfileOutput) -> bool
fn eq(&self, other: &DescribeUserProfileOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeUserProfileOutput
impl RequestId for DescribeUserProfileOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.