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
- color
color
types for colors - emote
emote
types for emotes - eventsub
eventsub
types for eventsub related things - goal
goal
types for goals - moderation
moderation
types for moderation - points
points
types for points - stream
stream
types for stream related things - time
timestamp
types for time - user
user
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 Aliases
- A username, also specified as login. Should not be capitalized.
- A reference to a borrowed
UserName
, also specified as login. Should not be capitalized.