#[non_exhaustive]pub struct ModifyUserGroupInput {
pub user_group_id: Option<String>,
pub user_ids_to_add: Option<Vec<String>>,
pub user_ids_to_remove: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_group_id: Option<String>
The ID of the user group.
user_ids_to_add: Option<Vec<String>>
The list of user IDs to add to the user group.
user_ids_to_remove: Option<Vec<String>>
The list of user IDs to remove from the user group.
Implementations§
source§impl ModifyUserGroupInput
impl ModifyUserGroupInput
sourcepub fn user_group_id(&self) -> Option<&str>
pub fn user_group_id(&self) -> Option<&str>
The ID of the user group.
sourcepub fn user_ids_to_add(&self) -> &[String]
pub fn user_ids_to_add(&self) -> &[String]
The list of user IDs to add to the user group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_ids_to_add.is_none()
.
sourcepub fn user_ids_to_remove(&self) -> &[String]
pub fn user_ids_to_remove(&self) -> &[String]
The list of user IDs to remove from the user group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_ids_to_remove.is_none()
.
source§impl ModifyUserGroupInput
impl ModifyUserGroupInput
sourcepub fn builder() -> ModifyUserGroupInputBuilder
pub fn builder() -> ModifyUserGroupInputBuilder
Creates a new builder-style object to manufacture ModifyUserGroupInput
.
Trait Implementations§
source§impl Clone for ModifyUserGroupInput
impl Clone for ModifyUserGroupInput
source§fn clone(&self) -> ModifyUserGroupInput
fn clone(&self) -> ModifyUserGroupInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModifyUserGroupInput
impl Debug for ModifyUserGroupInput
source§impl PartialEq for ModifyUserGroupInput
impl PartialEq for ModifyUserGroupInput
source§fn eq(&self, other: &ModifyUserGroupInput) -> bool
fn eq(&self, other: &ModifyUserGroupInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyUserGroupInput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyUserGroupInput
impl Send for ModifyUserGroupInput
impl Sync for ModifyUserGroupInput
impl Unpin for ModifyUserGroupInput
impl UnwindSafe for ModifyUserGroupInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.