#[non_exhaustive]pub struct AdminUsersRemoveRequest {
pub team_id: String,
pub user_id: String,
}Expand description
Arguments for the Slack Web API method admin.users.remove: Remove a user from a workspace.
Send it with SlackClient::admin_users_remove.
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.team_id: StringThe ID (T1234) of the workspace.
user_id: StringThe ID of the user to remove.
Implementations§
Trait Implementations§
Source§impl Clone for AdminUsersRemoveRequest
impl Clone for AdminUsersRemoveRequest
Source§impl Debug for AdminUsersRemoveRequest
impl Debug for AdminUsersRemoveRequest
Source§impl PartialEq for AdminUsersRemoveRequest
impl PartialEq for AdminUsersRemoveRequest
Source§impl Serialize for AdminUsersRemoveRequest
impl Serialize for AdminUsersRemoveRequest
impl StructuralPartialEq for AdminUsersRemoveRequest
Auto Trait Implementations§
impl Freeze for AdminUsersRemoveRequest
impl RefUnwindSafe for AdminUsersRemoveRequest
impl Send for AdminUsersRemoveRequest
impl Sync for AdminUsersRemoveRequest
impl Unpin for AdminUsersRemoveRequest
impl UnsafeUnpin for AdminUsersRemoveRequest
impl UnwindSafe for AdminUsersRemoveRequest
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