Struct aws_sdk_cloud9::model::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
sourceimpl 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.
sourceimpl EnvironmentMember
impl EnvironmentMember
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EnvironmentMember
Trait Implementations
sourceimpl Clone for EnvironmentMember
impl Clone for EnvironmentMember
sourcefn clone(&self) -> EnvironmentMember
fn clone(&self) -> EnvironmentMember
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 EnvironmentMember
impl Debug for EnvironmentMember
sourceimpl PartialEq<EnvironmentMember> for EnvironmentMember
impl PartialEq<EnvironmentMember> for EnvironmentMember
sourcefn eq(&self, other: &EnvironmentMember) -> bool
fn eq(&self, other: &EnvironmentMember) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EnvironmentMember) -> bool
fn ne(&self, other: &EnvironmentMember) -> bool
This method tests for !=
.
impl StructuralPartialEq for EnvironmentMember
Auto Trait Implementations
impl RefUnwindSafe for EnvironmentMember
impl Send for EnvironmentMember
impl Sync for EnvironmentMember
impl Unpin for EnvironmentMember
impl UnwindSafe for EnvironmentMember
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