Enum twitch_api2::pubsub::channel_points::ChannelPointsChannelV1Reply [−][src]
#[non_exhaustive] pub enum ChannelPointsChannelV1Reply { RewardRedeemed { timestamp: String, redemption: Redemption, }, CustomRewardUpdated { timestamp: String, updated_reward: Reward, }, RedemptionStatusUpdate { timestamp: String, redemption: Redemption, }, UpdateRedemptionStatusesFinished { timestamp: String, progress: Progress, }, UpdateRedemptionStatusProgress { timestamp: String, progress: Progress, }, }
This is supported on crate feature
pubsub
only.Reply from ChannelPointsChannelV1
Variants (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.
A reward was redeemed
Show fields
Fields of RewardRedeemed
timestamp: String
Time the pubsub message was sent
redemption: Redemption
Data about the redemption, includes unique id and user that redeemed it
A custom reward was updated
Show fields
Status of a redemption was changed
Show fields
Fields of RedemptionStatusUpdate
timestamp: String
Time the pubsub message was sent
redemption: Redemption
Data about the reward that had status updated
Status of multiple redemptions were changed
Show fields
Status of multiple redemptions were changed
Show fields
Trait Implementations
impl Clone for ChannelPointsChannelV1Reply
[src]
impl Clone for ChannelPointsChannelV1Reply
[src]fn clone(&self) -> ChannelPointsChannelV1Reply
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ChannelPointsChannelV1Reply
[src]
impl<'de> Deserialize<'de> for ChannelPointsChannelV1Reply
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ChannelPointsChannelV1Reply
[src]
impl Eq for ChannelPointsChannelV1Reply
[src]impl PartialEq<ChannelPointsChannelV1Reply> for ChannelPointsChannelV1Reply
[src]
impl PartialEq<ChannelPointsChannelV1Reply> for ChannelPointsChannelV1Reply
[src]fn eq(&self, other: &ChannelPointsChannelV1Reply) -> bool
[src]
fn ne(&self, other: &ChannelPointsChannelV1Reply) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelPointsChannelV1Reply
impl RefUnwindSafe for ChannelPointsChannelV1Reply
impl Send for ChannelPointsChannelV1Reply
impl Send for ChannelPointsChannelV1Reply
impl Sync for ChannelPointsChannelV1Reply
impl Sync for ChannelPointsChannelV1Reply
impl Unpin for ChannelPointsChannelV1Reply
impl Unpin for ChannelPointsChannelV1Reply
impl UnwindSafe for ChannelPointsChannelV1Reply
impl UnwindSafe for ChannelPointsChannelV1Reply
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,