pub struct Reaction {
pub burst_colors: Vec<HexColor>,
pub count: u64,
pub count_details: ReactionCountDetails,
pub emoji: EmojiReactionType,
pub me: bool,
pub me_burst: bool,
}
Expand description
Reaction below a message.
Fields§
§burst_colors: Vec<HexColor>
HEX colors used for super reaction.
count: u64
Amount of reactions this emoji has.
count_details: ReactionCountDetails
Reaction count details for each type of reaction.
emoji: EmojiReactionType
Emoji of this reaction.
me: bool
Whether the current user has reacted with this emoji.
me_burst: bool
Whether the current user super-reacted using this emoji
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reaction
impl<'de> Deserialize<'de> for Reaction
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 Reaction
impl StructuralPartialEq for Reaction
Auto Trait Implementations§
impl Freeze for Reaction
impl RefUnwindSafe for Reaction
impl Send for Reaction
impl Sync for Reaction
impl Unpin for Reaction
impl UnwindSafe for Reaction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)