pub struct Emoji {
pub shortcode: String,
pub static_url: String,
pub url: String,
}Expand description
Struct representing an emoji within text.
Fields§
§shortcode: StringThe shortcode of the emoji
static_url: StringURL to the emoji static image
url: StringURL to the emoji image
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Emoji
impl<'de> Deserialize<'de> for Emoji
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 Eq for Emoji
impl StructuralPartialEq for Emoji
Auto Trait Implementations§
impl Freeze for Emoji
impl RefUnwindSafe for Emoji
impl Send for Emoji
impl Sync for Emoji
impl Unpin for Emoji
impl UnwindSafe for Emoji
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