#[non_exhaustive]pub struct UsergroupsDisableRequest {
pub usergroup: String,
pub include_count: Option<bool>,
pub team_id: Option<String>,
}Expand description
Arguments for the Slack Web API method usergroups.disable: Disable an existing User Group.
Send it with SlackClient::usergroups_disable.
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.usergroup: StringThe encoded ID of the User Group to disable.
include_count: Option<bool>Include the number of users in the User Group.
team_id: Option<String>Encoded target team id where the user group is, required if org token is used.
Implementations§
Trait Implementations§
Source§impl Clone for UsergroupsDisableRequest
impl Clone for UsergroupsDisableRequest
Source§impl Debug for UsergroupsDisableRequest
impl Debug for UsergroupsDisableRequest
Source§impl PartialEq for UsergroupsDisableRequest
impl PartialEq for UsergroupsDisableRequest
Source§impl Serialize for UsergroupsDisableRequest
impl Serialize for UsergroupsDisableRequest
impl StructuralPartialEq for UsergroupsDisableRequest
Auto Trait Implementations§
impl Freeze for UsergroupsDisableRequest
impl RefUnwindSafe for UsergroupsDisableRequest
impl Send for UsergroupsDisableRequest
impl Sync for UsergroupsDisableRequest
impl Unpin for UsergroupsDisableRequest
impl UnsafeUnpin for UsergroupsDisableRequest
impl UnwindSafe for UsergroupsDisableRequest
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