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