#[non_exhaustive]pub struct AdminTeamsSettingsSetIconRequest {
pub image_url: String,
pub team_id: String,
}Expand description
Arguments for the Slack Web API method admin.teams.settings.setIcon: Sets the icon of a workspace.
Send it with SlackClient::admin_teams_settings_set_icon.
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.image_url: StringImage URL for the icon
team_id: StringID for the workspace to set the icon for.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminTeamsSettingsSetIconRequest
Auto Trait Implementations§
impl Freeze for AdminTeamsSettingsSetIconRequest
impl RefUnwindSafe for AdminTeamsSettingsSetIconRequest
impl Send for AdminTeamsSettingsSetIconRequest
impl Sync for AdminTeamsSettingsSetIconRequest
impl Unpin for AdminTeamsSettingsSetIconRequest
impl UnsafeUnpin for AdminTeamsSettingsSetIconRequest
impl UnwindSafe for AdminTeamsSettingsSetIconRequest
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