Struct aws_sdk_cloud9::types::EnvironmentMember
source · #[non_exhaustive]pub struct EnvironmentMember {
pub permissions: Permissions,
pub user_id: String,
pub user_arn: String,
pub environment_id: String,
pub last_access: Option<DateTime>,
}
Expand description
Information about an environment member for an Cloud9 development environment.
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.permissions: Permissions
The type of environment member permissions associated with this environment member. Available values include:
-
owner
: Owns the environment. -
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
user_id: String
The user ID in Identity and Access Management (IAM) of the environment member.
user_arn: String
The Amazon Resource Name (ARN) of the environment member.
environment_id: String
The ID of the environment for the environment member.
last_access: Option<DateTime>
The time, expressed in epoch time format, when the environment member last opened the environment.
Implementations§
source§impl EnvironmentMember
impl EnvironmentMember
sourcepub fn permissions(&self) -> &Permissions
pub fn permissions(&self) -> &Permissions
The type of environment member permissions associated with this environment member. Available values include:
-
owner
: Owns the environment. -
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
sourcepub fn user_id(&self) -> &str
pub fn user_id(&self) -> &str
The user ID in Identity and Access Management (IAM) of the environment member.
sourcepub fn environment_id(&self) -> &str
pub fn environment_id(&self) -> &str
The ID of the environment for the environment member.
sourcepub fn last_access(&self) -> Option<&DateTime>
pub fn last_access(&self) -> Option<&DateTime>
The time, expressed in epoch time format, when the environment member last opened the environment.
source§impl EnvironmentMember
impl EnvironmentMember
sourcepub fn builder() -> EnvironmentMemberBuilder
pub fn builder() -> EnvironmentMemberBuilder
Creates a new builder-style object to manufacture EnvironmentMember
.
Trait Implementations§
source§impl Clone for EnvironmentMember
impl Clone for EnvironmentMember
source§fn clone(&self) -> EnvironmentMember
fn clone(&self) -> EnvironmentMember
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnvironmentMember
impl Debug for EnvironmentMember
source§impl PartialEq for EnvironmentMember
impl PartialEq for EnvironmentMember
source§fn eq(&self, other: &EnvironmentMember) -> bool
fn eq(&self, other: &EnvironmentMember) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnvironmentMember
Auto Trait Implementations§
impl Freeze for EnvironmentMember
impl RefUnwindSafe for EnvironmentMember
impl Send for EnvironmentMember
impl Sync for EnvironmentMember
impl Unpin for EnvironmentMember
impl UnwindSafe for EnvironmentMember
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more