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