#[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 more