#[non_exhaustive]pub struct AppsIconSetRequest {
pub app_id: String,
pub file: Option<String>,
pub url: Option<String>,
}Expand description
Arguments for the Slack Web API method apps.icon.set: Sets the app icon
Send it with SlackClient::apps_icon_set.
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.app_id: StringThe ID of the app whose icon you want to set.
file: Option<String>File contents via multipart/form-data
url: Option<String>URL of a publicly hosted image
Implementations§
Trait Implementations§
Source§impl Clone for AppsIconSetRequest
impl Clone for AppsIconSetRequest
Source§impl Debug for AppsIconSetRequest
impl Debug for AppsIconSetRequest
Source§impl PartialEq for AppsIconSetRequest
impl PartialEq for AppsIconSetRequest
Source§impl Serialize for AppsIconSetRequest
impl Serialize for AppsIconSetRequest
Source§impl SlackApiMethod for AppsIconSetRequest
impl SlackApiMethod for AppsIconSetRequest
impl StructuralPartialEq for AppsIconSetRequest
Auto Trait Implementations§
impl Freeze for AppsIconSetRequest
impl RefUnwindSafe for AppsIconSetRequest
impl Send for AppsIconSetRequest
impl Sync for AppsIconSetRequest
impl Unpin for AppsIconSetRequest
impl UnsafeUnpin for AppsIconSetRequest
impl UnwindSafe for AppsIconSetRequest
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