Struct aws_sdk_workmail::operation::disassociate_delegate_from_resource::DisassociateDelegateFromResourceInput
source · #[non_exhaustive]pub struct DisassociateDelegateFromResourceInput {
pub organization_id: Option<String>,
pub resource_id: Option<String>,
pub entity_id: Option<String>,
}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.organization_id: Option<String>The identifier for the organization under which the resource exists.
resource_id: Option<String>The identifier of the resource from which delegates' set members are removed.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
entity_id: Option<String>The identifier for the member (user, group) to be removed from the resource's delegates.
The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity: entity
Implementations§
source§impl DisassociateDelegateFromResourceInput
impl DisassociateDelegateFromResourceInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier for the organization under which the resource exists.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The identifier of the resource from which delegates' set members are removed.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
-
Resource ID: r-0123456789a0123456789b0123456789
-
Email address: resource@domain.tld
-
Resource name: resource
sourcepub fn entity_id(&self) -> Option<&str>
pub fn entity_id(&self) -> Option<&str>
The identifier for the member (user, group) to be removed from the resource's delegates.
The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity: entity
source§impl DisassociateDelegateFromResourceInput
impl DisassociateDelegateFromResourceInput
sourcepub fn builder() -> DisassociateDelegateFromResourceInputBuilder
pub fn builder() -> DisassociateDelegateFromResourceInputBuilder
Creates a new builder-style object to manufacture DisassociateDelegateFromResourceInput.
Trait Implementations§
source§impl Clone for DisassociateDelegateFromResourceInput
impl Clone for DisassociateDelegateFromResourceInput
source§fn clone(&self) -> DisassociateDelegateFromResourceInput
fn clone(&self) -> DisassociateDelegateFromResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DisassociateDelegateFromResourceInput
impl PartialEq for DisassociateDelegateFromResourceInput
source§fn eq(&self, other: &DisassociateDelegateFromResourceInput) -> bool
fn eq(&self, other: &DisassociateDelegateFromResourceInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisassociateDelegateFromResourceInput
Auto Trait Implementations§
impl Freeze for DisassociateDelegateFromResourceInput
impl RefUnwindSafe for DisassociateDelegateFromResourceInput
impl Send for DisassociateDelegateFromResourceInput
impl Sync for DisassociateDelegateFromResourceInput
impl Unpin for DisassociateDelegateFromResourceInput
impl UnwindSafe for DisassociateDelegateFromResourceInput
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