#[non_exhaustive]pub struct AdminTeamsSettingsSetDefaultChannelsRequest {
pub team_id: String,
pub channel_ids: Vec<String>,
}Expand description
Arguments for the Slack Web API method admin.teams.settings.setDefaultChannels: Set the default channels of a workspace.
Send it with SlackClient::admin_teams_settings_set_default_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.team_id: StringID for the workspace to set the default channel for.
channel_ids: Vec<String>An array of channel IDs.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminTeamsSettingsSetDefaultChannelsRequest
Auto Trait Implementations§
impl Freeze for AdminTeamsSettingsSetDefaultChannelsRequest
impl RefUnwindSafe for AdminTeamsSettingsSetDefaultChannelsRequest
impl Send for AdminTeamsSettingsSetDefaultChannelsRequest
impl Sync for AdminTeamsSettingsSetDefaultChannelsRequest
impl Unpin for AdminTeamsSettingsSetDefaultChannelsRequest
impl UnsafeUnpin for AdminTeamsSettingsSetDefaultChannelsRequest
impl UnwindSafe for AdminTeamsSettingsSetDefaultChannelsRequest
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