pub struct ChannelInfo {
Show 18 fields pub is_live: bool, pub category_id: String, pub category_name: String, pub live_title: String, pub audi_type: AudienceType, pub language_code: String, pub thumbnail: String, pub current_viewers: u64, pub followers: u64, pub streamer_info: String, pub profile_pic: String, pub channel_url: String, pub created_at: DateTime<Utc>, pub subscriber_num: u64, pub username: String, pub social_links: Vec<SocialLink>, pub started_at: DateTime<Utc>, pub ended_at: DateTime<Utc>,
}
Expand description

Response for the get users api

Fields

is_live: bool

If the channel is currently live streaming.

category_id: String

The id of the game category.

category_name: String

Text name of the category.

live_title: String

Current title of the channel.

audi_type: AudienceType

Audience type.

language_code: String

Language of the channel in in ISO 2 (2 letter language code)

thumbnail: String

URL of the thumbnail. Empty thumbnail means the thumbnail from the previous stream has expired.

current_viewers: u64

Number of current viewers

followers: u64

Number of followers

streamer_info: String

Profile information of the streamer

profile_pic: String

Url of the streamer’s profile picture

channel_url: String

URL of the channel

created_at: DateTime<Utc>

Timestamp of the streamer creation time

subscriber_num: u64

Count of subscribers

username: String

Username of the channel’s streamer. Also the last part of the channel url.

social_links: Vec<SocialLink>

Social media links of the streamer.

started_at: DateTime<Utc>

The latest streaming start time of a given channel.

ended_at: DateTime<Utc>

The latest streaming end time of a given channel.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more