Crate twitch_types

Source
Expand description

Twitch types

Re-exports§

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

Modules§

chatchat
types for chat
colorcolor
types for colors
emoteemote
types for emotes
eventsubeventsub
types for eventsub related things
extensionextension
types for extensions
goalgoal
types for goals
moderationmoderation
types for moderation
pointspoints
types for points
streamstream
types for stream related things
subsub
types for subscriptions
timetimestamp
types for time
useruser
types for user related things

Structs§

CollectionIter
Iterator over the elements of a Collection.
DisplayName
A users display name
DisplayNameRef
A users display name
MsgId
A message ID
MsgIdRef
A message ID
Nickname
A nickname, not capitalized.
NicknameRef
A nickname, not capitalized.
UserId
A user ID.
UserIdRef
A user ID.

Enums§

BroadcasterType
Broadcaster types: “partner”, “affiliate”, or “”.
Collection
Generic collection of an abstracted item.
UserType
User types: “staff”, “admin”, “global_mod”, or “”.

Traits§

IntoCow
Convert a type into a Cow

Type Aliases§

UserName
A username, also specified as login. Should not be capitalized.
UserNameRef
A reference to a borrowed UserName, also specified as login. Should not be capitalized.