#[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 ==
.