#[non_exhaustive]pub struct AdminEmojiRenameRequest {
pub name: String,
pub new_name: String,
}Expand description
Arguments for the Slack Web API method admin.emoji.rename: Rename an emoji.
Send it with SlackClient::admin_emoji_rename.
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.name: StringThe name of the emoji to be renamed. Colons (:myemoji:) around the value are not required, although they may be included.
new_name: StringThe new name of the emoji.
Implementations§
Trait Implementations§
Source§impl Clone for AdminEmojiRenameRequest
impl Clone for AdminEmojiRenameRequest
Source§impl Debug for AdminEmojiRenameRequest
impl Debug for AdminEmojiRenameRequest
Source§impl PartialEq for AdminEmojiRenameRequest
impl PartialEq for AdminEmojiRenameRequest
Source§impl Serialize for AdminEmojiRenameRequest
impl Serialize for AdminEmojiRenameRequest
impl StructuralPartialEq for AdminEmojiRenameRequest
Auto Trait Implementations§
impl Freeze for AdminEmojiRenameRequest
impl RefUnwindSafe for AdminEmojiRenameRequest
impl Send for AdminEmojiRenameRequest
impl Sync for AdminEmojiRenameRequest
impl Unpin for AdminEmojiRenameRequest
impl UnsafeUnpin for AdminEmojiRenameRequest
impl UnwindSafe for AdminEmojiRenameRequest
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