Module twitch_api2::types[][src]

Twitch types

Structs

GlobalCooldown

Information about global cooldown

Image

Links to the same image of different sizes

TwitchCategory

A game or category as defined by Twitch

User

A user according to many endpoints

Enums

BroadcasterType

Broadcaster types: "partner", "affiliated", or "".

CommercialLength

Length of the commercial in seconds

CommercialLengthParseError

Error for the TryFrom on CommercialLength

Max

Reward redemption max

SubscriptionTier

Subscription tiers

UserType

User types: "staff", "admin", "global_mod", or "".

VideoPeriod

Period during which the video was created

VideoPrivacy

Type of video

VideoType

Type of video

Type Definitions

CategoryId

A game or category ID

DisplayName

A users display name

EventSubId

An EventSub Subscription ID

Nickname

A nickname, not capitalized.

RedemptionId

A reward redemption ID.

RewardId

A reward ID.

TagId

A tag ID

Timestamp

RFC3339 timestamp

UserId

A user ID.

UserName

A username, also specified as login. Should not be capitalized.

VideoId

A video ID