pub struct Emote {
pub id: u64,
pub package_id: u64,
pub state: u64,
pub type: u64,
pub attr: Option<u64>,
pub text: String,
pub url: String,
pub meta: Option<EmoteMeta>,
pub mtime: Option<u64>,
pub jump_title: Option<String>,
}Expand description
单个表情对象
Fields§
§id: u64§package_id: u64§state: u64§type: u64§attr: Option<u64>§text: String§url: String§meta: Option<EmoteMeta>§mtime: Option<u64>§jump_title: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Emote
impl<'de> Deserialize<'de> for Emote
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 Emote
impl RefUnwindSafe for Emote
impl Send for Emote
impl Sync for Emote
impl Unpin for Emote
impl UnsafeUnpin for Emote
impl UnwindSafe for Emote
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