pub struct Emote {
pub name: String,
pub url: String,
pub provider: String,
pub id: String,
pub animated: bool,
pub zero_width: bool,
pub global: bool,
}Expand description
one emote as the HeatSync emote API returns it.
Fields§
§name: String§url: String§provider: String§id: String§animated: bool§zero_width: bool§global: boolcame from the pooled global set (/api/emotes) rather than a channel’s own set — channel emotes of the same name override it. never serialized.
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
impl StructuralPartialEq for Emote
Auto Trait Implementations§
impl Forget for Emote
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