Struct aws_sdk_cloud9::types::EnvironmentMember
source · #[non_exhaustive]pub struct EnvironmentMember {
pub permissions: Option<Permissions>,
pub user_id: Option<String>,
pub user_arn: Option<String>,
pub environment_id: Option<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: Option<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: Option<String>
The user ID in Identity and Access Management (IAM) of the environment member.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the environment member.
environment_id: Option<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) -> Option<&Permissions>
pub fn permissions(&self) -> Option<&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) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The user ID in Identity and Access Management (IAM) of the environment member.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment member.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&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<EnvironmentMember> for EnvironmentMember
impl PartialEq<EnvironmentMember> 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 ==
.