#[non_exhaustive]pub enum ReactionAction {
Add,
Remove,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Add
add
Remove
remove
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for ReactionAction
impl Clone for ReactionAction
Source§impl Debug for ReactionAction
impl Debug for ReactionAction
Source§impl<'de> Deserialize<'de> for ReactionAction
impl<'de> Deserialize<'de> for ReactionAction
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 Display for ReactionAction
impl Display for ReactionAction
impl Eq for ReactionAction
Source§impl PartialEq for ReactionAction
impl PartialEq for ReactionAction
Source§impl Serialize for ReactionAction
impl Serialize for ReactionAction
impl StructuralPartialEq for ReactionAction
Auto Trait Implementations§
impl Freeze for ReactionAction
impl RefUnwindSafe for ReactionAction
impl Send for ReactionAction
impl Sync for ReactionAction
impl Unpin for ReactionAction
impl UnsafeUnpin for ReactionAction
impl UnwindSafe for ReactionAction
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