Struct aws_sdk_workmail::operation::associate_delegate_to_resource::AssociateDelegateToResourceInput
source · #[non_exhaustive]pub struct AssociateDelegateToResourceInput {
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 organization under which the resource exists.
resource_id: Option<String>
The resource for which members (users or groups) are associated.
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 member (user or group) to associate to the resource.
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 AssociateDelegateToResourceInput
impl AssociateDelegateToResourceInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The organization under which the resource exists.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource for which members (users or groups) are associated.
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 member (user or group) to associate to the resource.
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 AssociateDelegateToResourceInput
impl AssociateDelegateToResourceInput
sourcepub fn builder() -> AssociateDelegateToResourceInputBuilder
pub fn builder() -> AssociateDelegateToResourceInputBuilder
Creates a new builder-style object to manufacture AssociateDelegateToResourceInput
.
Trait Implementations§
source§impl Clone for AssociateDelegateToResourceInput
impl Clone for AssociateDelegateToResourceInput
source§fn clone(&self) -> AssociateDelegateToResourceInput
fn clone(&self) -> AssociateDelegateToResourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociateDelegateToResourceInput
impl PartialEq for AssociateDelegateToResourceInput
source§fn eq(&self, other: &AssociateDelegateToResourceInput) -> bool
fn eq(&self, other: &AssociateDelegateToResourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateDelegateToResourceInput
Auto Trait Implementations§
impl Freeze for AssociateDelegateToResourceInput
impl RefUnwindSafe for AssociateDelegateToResourceInput
impl Send for AssociateDelegateToResourceInput
impl Sync for AssociateDelegateToResourceInput
impl Unpin for AssociateDelegateToResourceInput
impl UnwindSafe for AssociateDelegateToResourceInput
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