#[non_exhaustive]pub struct DeleteCustomEmojiRequest {
pub name: String,
/* private fields */
}Expand description
Request for deleting a custom emoji.
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: StringRequired. Resource name of the custom emoji to delete.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteCustomEmojiRequest
impl Clone for DeleteCustomEmojiRequest
Source§fn clone(&self) -> DeleteCustomEmojiRequest
fn clone(&self) -> DeleteCustomEmojiRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteCustomEmojiRequest
impl Debug for DeleteCustomEmojiRequest
Source§impl Default for DeleteCustomEmojiRequest
impl Default for DeleteCustomEmojiRequest
Source§fn default() -> DeleteCustomEmojiRequest
fn default() -> DeleteCustomEmojiRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteCustomEmojiRequest
impl Message for DeleteCustomEmojiRequest
Source§impl PartialEq for DeleteCustomEmojiRequest
impl PartialEq for DeleteCustomEmojiRequest
impl StructuralPartialEq for DeleteCustomEmojiRequest
Auto Trait Implementations§
impl Freeze for DeleteCustomEmojiRequest
impl RefUnwindSafe for DeleteCustomEmojiRequest
impl Send for DeleteCustomEmojiRequest
impl Sync for DeleteCustomEmojiRequest
impl Unpin for DeleteCustomEmojiRequest
impl UnsafeUnpin for DeleteCustomEmojiRequest
impl UnwindSafe for DeleteCustomEmojiRequest
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