Crate twitch_types

source ·
Expand description

Twitch types

Re-exports

pub use crate::color::*;
color
pub use crate::emote::*;
emote
pub use crate::eventsub::*;
eventsub
pub use crate::goal::*;
goal
pub use crate::moderation::*;
moderation
pub use crate::points::*;
points
pub use crate::stream::*;
stream
pub use crate::time::*;
timestamp
pub use crate::user::*;
user

Modules

colorcolor
types for colors
emoteemote
types for emotes
eventsubeventsub
types for eventsub related things
goalgoal
types for goals
moderationmoderation
types for moderation
pointspoints
types for points
streamstream
types for stream related things
timetimestamp
types for time
useruser
types for user related things

Structs

A users display name
A users display name
A message ID
A message ID
A nickname, not capitalized.
A nickname, not capitalized.
A user ID.
A user ID.

Enums

Broadcaster types: “partner”, “affiliate”, or “”.
User types: “staff”, “admin”, “global_mod”, or “”.

Traits

Convert a type into a Cow

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.