#[non_exhaustive]pub struct NotificationThresholds {
pub bits_cheer: i64,
pub bits_extension: i64,
pub bits_poll: i64,
pub subs_tier_1_gifted_sub: i64,
pub subs_tier_1_sub: i64,
pub subs_tier_2_gifted_sub: i64,
pub subs_tier_2_sub: i64,
pub subs_tier_3_gifted_sub: i64,
pub subs_tier_3_sub: i64,
}use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
pubsub and unsupported only.Expand description
Thresholds for notifications
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bits_cheer: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Bits
bits_extension: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Bits by extension
§Notes
This seems to be for future usage. Right now, the helix endpoint doesn’t have this.
bits_poll: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Bits by poll
§Notes
This seems to be for future usage. Right now, the helix endpoint doesn’t have this.
subs_tier_1_gifted_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 1 gifted subs
subs_tier_1_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 1 sub
subs_tier_2_gifted_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 2 gifted subs
subs_tier_2_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 2 sub
subs_tier_3_gifted_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 3 gifted subs
subs_tier_3_sub: i64use EventSub instead, see https://discuss.dev.twitch.com/t/legacy-pubsub-deprecation-and-shutdown-timeline/58043
Tier 3 sub
Trait Implementations§
Source§impl Clone for NotificationThresholds
impl Clone for NotificationThresholds
Source§fn clone(&self) -> NotificationThresholds
fn clone(&self) -> NotificationThresholds
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NotificationThresholds
impl Debug for NotificationThresholds
Source§impl<'de> Deserialize<'de> for NotificationThresholds
impl<'de> Deserialize<'de> for NotificationThresholds
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>,
Source§impl PartialEq for NotificationThresholds
impl PartialEq for NotificationThresholds
Source§fn eq(&self, other: &NotificationThresholds) -> bool
fn eq(&self, other: &NotificationThresholds) -> bool
self and other values to be equal, and is used by ==.