#[non_exhaustive]pub struct AssociateMemberToGroupInput {
pub organization_id: Option<String>,
pub group_id: Option<String>,
pub member_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 group exists.
group_id: Option<String>
The group to which the member (user or group) is associated.
The identifier can accept GroupId, Groupname, or email. The following identity formats are available:
-
Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: group@domain.tld
-
Group name: group
member_id: Option<String>
The member (user or group) to associate to the group.
The member ID can accept UserID or GroupId, Username or Groupname, or email.
-
Member: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: member@domain.tld
-
Member name: member
Implementations§
source§impl AssociateMemberToGroupInput
impl AssociateMemberToGroupInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The organization under which the group exists.
sourcepub fn group_id(&self) -> Option<&str>
pub fn group_id(&self) -> Option<&str>
The group to which the member (user or group) is associated.
The identifier can accept GroupId, Groupname, or email. The following identity formats are available:
-
Group ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: group@domain.tld
-
Group name: group
sourcepub fn member_id(&self) -> Option<&str>
pub fn member_id(&self) -> Option<&str>
The member (user or group) to associate to the group.
The member ID can accept UserID or GroupId, Username or Groupname, or email.
-
Member: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: member@domain.tld
-
Member name: member
source§impl AssociateMemberToGroupInput
impl AssociateMemberToGroupInput
sourcepub fn builder() -> AssociateMemberToGroupInputBuilder
pub fn builder() -> AssociateMemberToGroupInputBuilder
Creates a new builder-style object to manufacture AssociateMemberToGroupInput
.
Trait Implementations§
source§impl Clone for AssociateMemberToGroupInput
impl Clone for AssociateMemberToGroupInput
source§fn clone(&self) -> AssociateMemberToGroupInput
fn clone(&self) -> AssociateMemberToGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociateMemberToGroupInput
impl Debug for AssociateMemberToGroupInput
source§impl PartialEq for AssociateMemberToGroupInput
impl PartialEq for AssociateMemberToGroupInput
source§fn eq(&self, other: &AssociateMemberToGroupInput) -> bool
fn eq(&self, other: &AssociateMemberToGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateMemberToGroupInput
Auto Trait Implementations§
impl Freeze for AssociateMemberToGroupInput
impl RefUnwindSafe for AssociateMemberToGroupInput
impl Send for AssociateMemberToGroupInput
impl Sync for AssociateMemberToGroupInput
impl Unpin for AssociateMemberToGroupInput
impl UnwindSafe for AssociateMemberToGroupInput
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