Enum twitch_api2::eventsub::channel::hypetrain::ContributionType [−][src]
#[non_exhaustive] pub enum ContributionType { Bits, Subscription, }
This is supported on crate feature
eventsub
only.Type of contribution
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.
Bits
Channel Subscriptions. Either gifted or not.
Trait Implementations
impl Clone for ContributionType
[src]
impl Clone for ContributionType
[src]fn clone(&self) -> ContributionType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ContributionType
[src]
impl<'de> Deserialize<'de> for ContributionType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ContributionType
[src]
impl Eq for ContributionType
[src]impl PartialEq<ContributionType> for ContributionType
[src]
impl PartialEq<ContributionType> for ContributionType
[src]impl Serialize for ContributionType
[src]
impl Serialize for ContributionType
[src]impl StructuralEq for ContributionType
[src]
impl StructuralEq for ContributionType
[src]impl StructuralPartialEq for ContributionType
[src]
impl StructuralPartialEq for ContributionType
[src]Auto Trait Implementations
impl RefUnwindSafe for ContributionType
impl RefUnwindSafe for ContributionType
impl Send for ContributionType
impl Send for ContributionType
impl Sync for ContributionType
impl Sync for ContributionType
impl Unpin for ContributionType
impl Unpin for ContributionType
impl UnwindSafe for ContributionType
impl UnwindSafe for ContributionType
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>,