Module twitch_api2::types [−][src]
Expand description
Twitch types
Structs
A Badge set ID
A reference to a borrowed BadgeSetId
A game or category ID
A reference to a borrowed CategoryId
A channel chat badge ID
A reference to a borrowed ChatBadgeId
A users display name
A reference to a borrowed DisplayName
A chat Emote ID
A reference to a borrowed EmoteId
An Emote Set ID
A reference to a borrowed EmoteSetId
Builder for emote URLs.
An EventSub Subscription ID
A reference to a borrowed EventSubId
Information about global cooldown
Links to the same image of different sizes
A message ID
A reference to a borrowed MsgId
A nickname, not capitalized.
A reference to a borrowed Nickname
Poll choice
A poll choice ID
A reference to a borrowed PollChoiceId
A poll ID
A reference to a borrowed PollId
A prediction ID
A reference to a borrowed PredictionId
Outcome for the Prediction
A prediction choice ID
A reference to a borrowed PredictionOutcomeId
Users who were the top predictors.
A reward redemption ID.
A reference to a borrowed RedemptionId
An emote index as defined by eventsub, similar to IRC emotes
twitch tag.
A reward ID.
A reference to a borrowed RewardId
A Stream ID
A reference to a borrowed StreamId
A Stream Segment ID.
A reference to a borrowed StreamSegmentId
A tag ID
A reference to a borrowed TagId
A Team ID
A reference to a borrowed TeamId
RFC3339 timestamp
A reference to a borrowed Timestamp
A game or category as defined by Twitch
A user according to many endpoints
A user ID.
A reference to a borrowed UserId
A video ID
A reference to a borrowed VideoId
Enums
Status of a message that is or was in AutoMod queue
Broadcaster types: “partner”, “affiliate”, or “”.
Length of the commercial in seconds
Error for the TryFrom
on CommercialLength
Reward redemption max
Status of a poll
Status of the Prediction
Subscription tiers
Errors that can occur when parsing a timestamp.
User types: “staff”, “admin”, “global_mod”, or “”.
Period during which the video was created
Type of video
Type of video
Type Definitions
A username, also specified as login. Should not be capitalized.
A reference to a borrowed UserName
, also specified as login. Should not be capitalized.