Enum discord::model::ReactionEmoji
[−]
[src]
pub enum ReactionEmoji { Unicode(String), Custom { name: String, id: EmojiId, }, }
Emoji information sent only from reaction events
Variants
Unicode(String)
Custom
Fields of Custom
name: String | |
id: EmojiId |
Trait Implementations
impl Debug for ReactionEmoji
[src]
impl Clone for ReactionEmoji
[src]
fn clone(&self) -> ReactionEmoji
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Serialize for ReactionEmoji
[src]
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
Serialize this value into the given Serde serializer. Read more
impl<'d> Deserialize<'d> for ReactionEmoji
[src]
fn deserialize<D: Deserializer<'d>>(d: D) -> Result<ReactionEmoji, D::Error>
Deserialize this value from the given Serde deserializer. Read more