#[non_exhaustive]pub struct GetCustomEmojiRequest {
pub name: String,
/* private fields */
}Expand description
A request to return a single 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.
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 GetCustomEmojiRequest
impl Clone for GetCustomEmojiRequest
Source§fn clone(&self) -> GetCustomEmojiRequest
fn clone(&self) -> GetCustomEmojiRequest
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 GetCustomEmojiRequest
impl Debug for GetCustomEmojiRequest
Source§impl Default for GetCustomEmojiRequest
impl Default for GetCustomEmojiRequest
Source§fn default() -> GetCustomEmojiRequest
fn default() -> GetCustomEmojiRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetCustomEmojiRequest
impl Message for GetCustomEmojiRequest
Source§impl PartialEq for GetCustomEmojiRequest
impl PartialEq for GetCustomEmojiRequest
impl StructuralPartialEq for GetCustomEmojiRequest
Auto Trait Implementations§
impl Freeze for GetCustomEmojiRequest
impl RefUnwindSafe for GetCustomEmojiRequest
impl Send for GetCustomEmojiRequest
impl Sync for GetCustomEmojiRequest
impl Unpin for GetCustomEmojiRequest
impl UnsafeUnpin for GetCustomEmojiRequest
impl UnwindSafe for GetCustomEmojiRequest
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