Struct rive_models::emoji::Emoji
source · pub struct Emoji {
pub id: String,
pub parent: EmojiParent,
pub creator_id: String,
pub name: String,
pub animated: bool,
pub nsfw: bool,
}Expand description
Representation of an Emoji on Revolt
Fields§
§id: StringUnique Id
parent: EmojiParentWhat owns this emoji
creator_id: StringUploader user id
name: StringEmoji name
animated: boolWhether the emoji is animated
nsfw: boolWhether the emoji is marked as nsfw
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
Auto Trait Implementations§
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