Struct aws_sdk_cloud9::operation::update_environment_membership::UpdateEnvironmentMembershipInput
source · #[non_exhaustive]pub struct UpdateEnvironmentMembershipInput {
pub environment_id: Option<String>,
pub user_arn: Option<String>,
pub permissions: Option<MemberPermissions>,
}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.environment_id: Option<String>The ID of the environment for the environment member whose settings you want to change.
user_arn: Option<String>The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
permissions: Option<MemberPermissions>The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
Implementations§
source§impl UpdateEnvironmentMembershipInput
impl UpdateEnvironmentMembershipInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment for the environment member whose settings you want to change.
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
sourcepub fn permissions(&self) -> Option<&MemberPermissions>
pub fn permissions(&self) -> Option<&MemberPermissions>
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
source§impl UpdateEnvironmentMembershipInput
impl UpdateEnvironmentMembershipInput
sourcepub fn builder() -> UpdateEnvironmentMembershipInputBuilder
pub fn builder() -> UpdateEnvironmentMembershipInputBuilder
Creates a new builder-style object to manufacture UpdateEnvironmentMembershipInput.
Trait Implementations§
source§impl Clone for UpdateEnvironmentMembershipInput
impl Clone for UpdateEnvironmentMembershipInput
source§fn clone(&self) -> UpdateEnvironmentMembershipInput
fn clone(&self) -> UpdateEnvironmentMembershipInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateEnvironmentMembershipInput
impl PartialEq for UpdateEnvironmentMembershipInput
source§fn eq(&self, other: &UpdateEnvironmentMembershipInput) -> bool
fn eq(&self, other: &UpdateEnvironmentMembershipInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateEnvironmentMembershipInput
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentMembershipInput
impl RefUnwindSafe for UpdateEnvironmentMembershipInput
impl Send for UpdateEnvironmentMembershipInput
impl Sync for UpdateEnvironmentMembershipInput
impl Unpin for UpdateEnvironmentMembershipInput
impl UnwindSafe for UpdateEnvironmentMembershipInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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