pub enum ChatReactions {
None,
All(ChatReactionsAll),
Some(ChatReactionsSome),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for ChatReactions
impl Clone for ChatReactions
Source§fn clone(&self) -> ChatReactions
fn clone(&self) -> ChatReactions
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 ChatReactions
impl Debug for ChatReactions
Source§impl Deserializable for ChatReactions
impl Deserializable for ChatReactions
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatReactionsAll> for ChatReactions
impl From<ChatReactionsAll> for ChatReactions
Source§fn from(x: ChatReactionsAll) -> Self
fn from(x: ChatReactionsAll) -> Self
Converts to this type from the input type.
Source§impl From<ChatReactionsNone> for ChatReactions
impl From<ChatReactionsNone> for ChatReactions
Source§fn from(_x: ChatReactionsNone) -> Self
fn from(_x: ChatReactionsNone) -> Self
Converts to this type from the input type.
Source§impl From<ChatReactionsSome> for ChatReactions
impl From<ChatReactionsSome> for ChatReactions
Source§fn from(x: ChatReactionsSome) -> Self
fn from(x: ChatReactionsSome) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatReactions
impl PartialEq for ChatReactions
Source§impl Serializable for ChatReactions
impl Serializable for ChatReactions
Source§impl TryFrom<ChatReactions> for ChatReactionsAll
impl TryFrom<ChatReactions> for ChatReactionsAll
Source§type Error = ChatReactions
type Error = ChatReactions
The type returned in the event of a conversion error.
Source§impl TryFrom<ChatReactions> for ChatReactionsSome
impl TryFrom<ChatReactions> for ChatReactionsSome
Source§type Error = ChatReactions
type Error = ChatReactions
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatReactions
Auto Trait Implementations§
impl Freeze for ChatReactions
impl RefUnwindSafe for ChatReactions
impl Send for ChatReactions
impl Sync for ChatReactions
impl Unpin for ChatReactions
impl UnsafeUnpin for ChatReactions
impl UnwindSafe for ChatReactions
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