pub struct RichTextCustomEmoji {
pub custom_emoji_id: String,
pub alternative_text: String,
}Expand description
A custom emoji ().
Fields§
§custom_emoji_id: StringUnique identifier of the custom emoji.
alternative_text: StringFallback emoji string for clients that do not support custom emoji.
Trait Implementations§
Source§impl Clone for RichTextCustomEmoji
impl Clone for RichTextCustomEmoji
Source§fn clone(&self) -> RichTextCustomEmoji
fn clone(&self) -> RichTextCustomEmoji
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 RichTextCustomEmoji
impl Debug for RichTextCustomEmoji
Source§impl<'de> Deserialize<'de> for RichTextCustomEmoji
impl<'de> Deserialize<'de> for RichTextCustomEmoji
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
Auto Trait Implementations§
impl Freeze for RichTextCustomEmoji
impl RefUnwindSafe for RichTextCustomEmoji
impl Send for RichTextCustomEmoji
impl Sync for RichTextCustomEmoji
impl Unpin for RichTextCustomEmoji
impl UnsafeUnpin for RichTextCustomEmoji
impl UnwindSafe for RichTextCustomEmoji
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