pub enum PaidReactionType {
Regular,
Anonymous,
Chat(PaidReactionTypeChat),
}Variants§
Regular
A paid reaction on behalf of the current user
Anonymous
An anonymous paid reaction
Chat(PaidReactionTypeChat)
A paid reaction on behalf of an owned chat
Trait Implementations§
Source§impl Clone for PaidReactionType
impl Clone for PaidReactionType
Source§fn clone(&self) -> PaidReactionType
fn clone(&self) -> PaidReactionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaidReactionType
impl Debug for PaidReactionType
Source§impl<'de> Deserialize<'de> for PaidReactionType
impl<'de> Deserialize<'de> for PaidReactionType
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 PaidReactionType
impl PartialEq for PaidReactionType
Source§fn eq(&self, other: &PaidReactionType) -> bool
fn eq(&self, other: &PaidReactionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaidReactionType
impl Serialize for PaidReactionType
impl StructuralPartialEq for PaidReactionType
Auto Trait Implementations§
impl Freeze for PaidReactionType
impl RefUnwindSafe for PaidReactionType
impl Send for PaidReactionType
impl Sync for PaidReactionType
impl Unpin for PaidReactionType
impl UnsafeUnpin for PaidReactionType
impl UnwindSafe for PaidReactionType
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