pub struct Reaction {
pub id: String,
pub reaction_key: String,
pub img_url: Option<String>,
pub participant_id: String,
pub emoji: Option<bool>,
}Expand description
Emoji reaction to a message
Fields§
§id: StringReaction ID
reaction_key: StringThe reaction key (emoji or shortcode)
img_url: Option<String>URL to reaction image
participant_id: StringUser ID of participant who reacted
emoji: Option<bool>True if the reactionKey is an 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
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