#[non_exhaustive]pub struct AdminTeamsSettingsSetNameRequest {
pub team_id: String,
pub name: String,
}Expand description
Arguments for the Slack Web API method admin.teams.settings.setName: Set the name of a given workspace.
Send it with SlackClient::admin_teams_settings_set_name.
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 name for.
name: StringThe new name of the workspace.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminTeamsSettingsSetNameRequest
Auto Trait Implementations§
impl Freeze for AdminTeamsSettingsSetNameRequest
impl RefUnwindSafe for AdminTeamsSettingsSetNameRequest
impl Send for AdminTeamsSettingsSetNameRequest
impl Sync for AdminTeamsSettingsSetNameRequest
impl Unpin for AdminTeamsSettingsSetNameRequest
impl UnsafeUnpin for AdminTeamsSettingsSetNameRequest
impl UnwindSafe for AdminTeamsSettingsSetNameRequest
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