#[non_exhaustive]pub struct AdminUsergroupsAddUsersRequest {
pub id: String,
pub users: Vec<String>,
}Expand description
Arguments for the Slack Web API method admin.usergroups.addUsers: Add members to an existing organizational usergroup.
Send it with SlackClient::admin_usergroups_add_users.
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.id: StringID of the usergroup to add users to
users: Vec<String>The encoded user IDs to add to the usergroup, provided as a JSON array or a comma-separated string.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminUsergroupsAddUsersRequest
Auto Trait Implementations§
impl Freeze for AdminUsergroupsAddUsersRequest
impl RefUnwindSafe for AdminUsergroupsAddUsersRequest
impl Send for AdminUsergroupsAddUsersRequest
impl Sync for AdminUsergroupsAddUsersRequest
impl Unpin for AdminUsergroupsAddUsersRequest
impl UnsafeUnpin for AdminUsergroupsAddUsersRequest
impl UnwindSafe for AdminUsergroupsAddUsersRequest
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