Enum twitch_api::pubsub::hypetrain::ActionType
source · [−]pub enum ActionType {
Cheer,
Tier1,
Tier2,
Tier3,
Tier1GiftedSub,
Tier2GiftedSub,
Tier3GiftedSub,
}
Available on crate features
pubsub
and unsupported
only.Expand description
The specific action that was used
Variants
Cheer
A cheer
Tier1
Tier 1 sub
Tier2
Tier 2 sub
Tier3
Tier 3 sub
Tier1GiftedSub
Tier 1 gifted sub
Tier2GiftedSub
Tier 2 gifted sub
Tier3GiftedSub
Tier 3 gifted sub
Trait Implementations
sourceimpl Clone for ActionType
impl Clone for ActionType
sourcefn clone(&self) -> ActionType
fn clone(&self) -> ActionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ActionType
impl Debug for ActionType
sourceimpl<'de> Deserialize<'de> for ActionType
impl<'de> Deserialize<'de> for ActionType
sourcefn 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
sourceimpl PartialEq<ActionType> for ActionType
impl PartialEq<ActionType> for ActionType
sourcefn eq(&self, other: &ActionType) -> bool
fn eq(&self, other: &ActionType) -> bool
sourceimpl Serialize for ActionType
impl Serialize for ActionType
impl Eq for ActionType
impl StructuralEq for ActionType
impl StructuralPartialEq for ActionType
Auto Trait Implementations
impl RefUnwindSafe for ActionType
impl Send for ActionType
impl Sync for ActionType
impl Unpin for ActionType
impl UnwindSafe for ActionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.