#[non_exhaustive]pub struct AdminUsergroupsAddChannelsRequest {
pub usergroup_id: String,
pub channel_ids: Vec<String>,
pub team_id: Option<String>,
}Expand description
Arguments for the Slack Web API method admin.usergroups.addChannels: Add up to one hundred default channels to an IDP group.
Send it with SlackClient::admin_usergroups_add_channels.
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_id: StringID of the IDP group to add default channels for.
channel_ids: Vec<String>Comma separated string of channel IDs.
team_id: Option<String>The workspace to add default channels in.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminUsergroupsAddChannelsRequest
Auto Trait Implementations§
impl Freeze for AdminUsergroupsAddChannelsRequest
impl RefUnwindSafe for AdminUsergroupsAddChannelsRequest
impl Send for AdminUsergroupsAddChannelsRequest
impl Sync for AdminUsergroupsAddChannelsRequest
impl Unpin for AdminUsergroupsAddChannelsRequest
impl UnsafeUnpin for AdminUsergroupsAddChannelsRequest
impl UnwindSafe for AdminUsergroupsAddChannelsRequest
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