#[non_exhaustive]pub enum ActionType {
Cheer,
Tier1,
Tier2,
Tier3,
Tier1GiftedSub,
Tier2GiftedSub,
Tier3GiftedSub,
}
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Available on crate features
pubsub
and unsupported
only.Expand description
The specific action that was used
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.
Cheer
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043A cheer
Tier1
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 1 sub
Tier2
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 2 sub
Tier3
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 3 sub
Tier1GiftedSub
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 1 gifted sub
Tier2GiftedSub
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 2 gifted sub
Tier3GiftedSub
👎Deprecated since 0.7.0: use
EventSub
instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043Tier 3 gifted sub
Trait Implementations§
Source§impl Clone for ActionType
impl Clone for ActionType
Source§fn clone(&self) -> ActionType
fn clone(&self) -> ActionType
Returns a copy 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 ActionType
impl Debug for ActionType
Source§impl<'de> Deserialize<'de> for ActionType
impl<'de> Deserialize<'de> for ActionType
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 ActionType
impl PartialEq for ActionType
Source§impl Serialize for ActionType
impl Serialize for ActionType
impl Eq for ActionType
impl StructuralPartialEq for ActionType
Auto Trait Implementations§
impl Freeze for ActionType
impl RefUnwindSafe for ActionType
impl Send for ActionType
impl Sync for ActionType
impl Unpin for ActionType
impl UnwindSafe for ActionType
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