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 ==
.