#[non_exhaustive]pub struct UserGroupPendingChanges {
pub user_ids_to_remove: Option<Vec<String>>,
pub user_ids_to_add: Option<Vec<String>>,
}
Expand description
Returns the updates being applied to the user group.
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_ids_to_remove: Option<Vec<String>>
The list of user IDs to remove.
user_ids_to_add: Option<Vec<String>>
The list of user IDs to add.
Implementations§
source§impl UserGroupPendingChanges
impl UserGroupPendingChanges
sourcepub fn user_ids_to_remove(&self) -> &[String]
pub fn user_ids_to_remove(&self) -> &[String]
The list of user IDs to remove.
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()
.
sourcepub fn user_ids_to_add(&self) -> &[String]
pub fn user_ids_to_add(&self) -> &[String]
The list of user IDs to add.
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()
.
source§impl UserGroupPendingChanges
impl UserGroupPendingChanges
sourcepub fn builder() -> UserGroupPendingChangesBuilder
pub fn builder() -> UserGroupPendingChangesBuilder
Creates a new builder-style object to manufacture UserGroupPendingChanges
.
Trait Implementations§
source§impl Clone for UserGroupPendingChanges
impl Clone for UserGroupPendingChanges
source§fn clone(&self) -> UserGroupPendingChanges
fn clone(&self) -> UserGroupPendingChanges
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 UserGroupPendingChanges
impl Debug for UserGroupPendingChanges
source§impl PartialEq for UserGroupPendingChanges
impl PartialEq for UserGroupPendingChanges
source§fn eq(&self, other: &UserGroupPendingChanges) -> bool
fn eq(&self, other: &UserGroupPendingChanges) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserGroupPendingChanges
Auto Trait Implementations§
impl RefUnwindSafe for UserGroupPendingChanges
impl Send for UserGroupPendingChanges
impl Sync for UserGroupPendingChanges
impl Unpin for UserGroupPendingChanges
impl UnwindSafe for UserGroupPendingChanges
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.