pub enum ReactionTypeUnion {
ReactionTypeCustomEmoji(Box<ReactionTypeCustomEmoji>),
ReactionTypeEmoji(Box<ReactionTypeEmoji>),
ReactionTypePaid(Box<ReactionTypePaid>),
}Variants§
ReactionTypeCustomEmoji(Box<ReactionTypeCustomEmoji>)
ReactionTypeEmoji(Box<ReactionTypeEmoji>)
ReactionTypePaid(Box<ReactionTypePaid>)
Trait Implementations§
Source§impl Clone for ReactionTypeUnion
impl Clone for ReactionTypeUnion
Source§impl Debug for ReactionTypeUnion
impl Debug for ReactionTypeUnion
Source§impl<'de> Deserialize<'de> for ReactionTypeUnion
impl<'de> Deserialize<'de> for ReactionTypeUnion
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 From<ReactionTypeCustomEmoji> for ReactionTypeUnion
impl From<ReactionTypeCustomEmoji> for ReactionTypeUnion
Source§fn from(value: ReactionTypeCustomEmoji) -> Self
fn from(value: ReactionTypeCustomEmoji) -> Self
Converts to this type from the input type.
Source§impl From<ReactionTypeEmoji> for ReactionTypeUnion
impl From<ReactionTypeEmoji> for ReactionTypeUnion
Source§fn from(value: ReactionTypeEmoji) -> Self
fn from(value: ReactionTypeEmoji) -> Self
Converts to this type from the input type.
Source§impl From<ReactionTypePaid> for ReactionTypeUnion
impl From<ReactionTypePaid> for ReactionTypeUnion
Source§fn from(value: ReactionTypePaid) -> Self
fn from(value: ReactionTypePaid) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReactionTypeUnion
impl PartialEq for ReactionTypeUnion
Source§impl Serialize for ReactionTypeUnion
impl Serialize for ReactionTypeUnion
impl StructuralPartialEq for ReactionTypeUnion
Auto Trait Implementations§
impl Freeze for ReactionTypeUnion
impl RefUnwindSafe for ReactionTypeUnion
impl Send for ReactionTypeUnion
impl Sync for ReactionTypeUnion
impl Unpin for ReactionTypeUnion
impl UnsafeUnpin for ReactionTypeUnion
impl UnwindSafe for ReactionTypeUnion
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