pub enum ReactionType {
Emoji(ReactionTypeEmoji),
CustomEmoji(ReactionTypeCustomEmoji),
}
Variants§
Emoji(ReactionTypeEmoji)
A reaction with an emoji
CustomEmoji(ReactionTypeCustomEmoji)
A reaction with a custom emoji
Trait Implementations§
Source§impl Clone for ReactionType
impl Clone for ReactionType
Source§fn clone(&self) -> ReactionType
fn clone(&self) -> ReactionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReactionType
impl Debug for ReactionType
Source§impl<'de> Deserialize<'de> for ReactionType
impl<'de> Deserialize<'de> for ReactionType
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
Source§impl PartialEq for ReactionType
impl PartialEq for ReactionType
Source§impl Serialize for ReactionType
impl Serialize for ReactionType
impl StructuralPartialEq for ReactionType
Auto Trait Implementations§
impl Freeze for ReactionType
impl RefUnwindSafe for ReactionType
impl Send for ReactionType
impl Sync for ReactionType
impl Unpin for ReactionType
impl UnwindSafe for ReactionType
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