pub struct TextEntityTypeCustomEmoji {
pub custom_emoji_id: i64,
}
Expand description
A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji
Fields§
§custom_emoji_id: i64
Unique identifier of the custom emoji
Trait Implementations§
Source§impl Clone for TextEntityTypeCustomEmoji
impl Clone for TextEntityTypeCustomEmoji
Source§fn clone(&self) -> TextEntityTypeCustomEmoji
fn clone(&self) -> TextEntityTypeCustomEmoji
Returns a duplicate 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 TextEntityTypeCustomEmoji
impl Debug for TextEntityTypeCustomEmoji
Source§impl Default for TextEntityTypeCustomEmoji
impl Default for TextEntityTypeCustomEmoji
Source§fn default() -> TextEntityTypeCustomEmoji
fn default() -> TextEntityTypeCustomEmoji
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextEntityTypeCustomEmoji
impl<'de> Deserialize<'de> for TextEntityTypeCustomEmoji
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
impl StructuralPartialEq for TextEntityTypeCustomEmoji
Auto Trait Implementations§
impl Freeze for TextEntityTypeCustomEmoji
impl RefUnwindSafe for TextEntityTypeCustomEmoji
impl Send for TextEntityTypeCustomEmoji
impl Sync for TextEntityTypeCustomEmoji
impl Unpin for TextEntityTypeCustomEmoji
impl UnwindSafe for TextEntityTypeCustomEmoji
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