#[non_exhaustive]pub struct AdminTeamsSettingsSetDiscoverabilityRequest {
pub team_id: String,
pub discoverability: String,
}Expand description
Arguments for the Slack Web API method admin.teams.settings.setDiscoverability: An API method that allows admins to set the discoverability of a given workspace
Send it with SlackClient::admin_teams_settings_set_discoverability.
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 of the workspace to set discoverability on.
discoverability: StringThis workspace’s discovery setting. It must be set to one of open, invite_only, closed, or unlisted.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminTeamsSettingsSetDiscoverabilityRequest
Auto Trait Implementations§
impl Freeze for AdminTeamsSettingsSetDiscoverabilityRequest
impl RefUnwindSafe for AdminTeamsSettingsSetDiscoverabilityRequest
impl Send for AdminTeamsSettingsSetDiscoverabilityRequest
impl Sync for AdminTeamsSettingsSetDiscoverabilityRequest
impl Unpin for AdminTeamsSettingsSetDiscoverabilityRequest
impl UnsafeUnpin for AdminTeamsSettingsSetDiscoverabilityRequest
impl UnwindSafe for AdminTeamsSettingsSetDiscoverabilityRequest
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