pub struct EmojiCategory {
pub name: String,
pub icon: Sticker,
pub emojis: Vec<String>,
}
Expand description
Contains a list of similar emoji to search for in getStickers and searchStickers
Fields§
§name: String
Name of the category
icon: Sticker
Custom emoji sticker, which represents icon of the category
emojis: Vec<String>
List of emojis in the category
Trait Implementations§
Source§impl Clone for EmojiCategory
impl Clone for EmojiCategory
Source§fn clone(&self) -> EmojiCategory
fn clone(&self) -> EmojiCategory
Returns a copy of the value. Read more
1.0.0 · 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 EmojiCategory
impl Debug for EmojiCategory
Source§impl<'de> Deserialize<'de> for EmojiCategory
impl<'de> Deserialize<'de> for EmojiCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EmojiCategory
impl PartialEq for EmojiCategory
Source§impl Serialize for EmojiCategory
impl Serialize for EmojiCategory
impl StructuralPartialEq for EmojiCategory
Auto Trait Implementations§
impl Freeze for EmojiCategory
impl RefUnwindSafe for EmojiCategory
impl Send for EmojiCategory
impl Sync for EmojiCategory
impl Unpin for EmojiCategory
impl UnwindSafe for EmojiCategory
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