Struct aws_sdk_codestar::output::DescribeUserProfileOutput
source · [−]#[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>,
}
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
sourceimpl 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.
sourceimpl DescribeUserProfileOutput
impl DescribeUserProfileOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeUserProfileOutput
.
Trait Implementations
sourceimpl Clone for DescribeUserProfileOutput
impl Clone for DescribeUserProfileOutput
sourcefn clone(&self) -> DescribeUserProfileOutput
fn clone(&self) -> DescribeUserProfileOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeUserProfileOutput
impl Debug for DescribeUserProfileOutput
sourceimpl PartialEq<DescribeUserProfileOutput> for DescribeUserProfileOutput
impl PartialEq<DescribeUserProfileOutput> for DescribeUserProfileOutput
sourcefn eq(&self, other: &DescribeUserProfileOutput) -> bool
fn eq(&self, other: &DescribeUserProfileOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeUserProfileOutput) -> bool
fn ne(&self, other: &DescribeUserProfileOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeUserProfileOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeUserProfileOutput
impl Send for DescribeUserProfileOutput
impl Sync for DescribeUserProfileOutput
impl Unpin for DescribeUserProfileOutput
impl UnwindSafe for DescribeUserProfileOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more