pub struct ChannelInfo {
pub id: u64,
pub slug: String,
pub title: Option<String>,
pub followers_count: Option<u64>,
pub subscribers_count: Option<u64>,
pub is_live: bool,
pub viewers_count: Option<u64>,
pub category: Option<String>,
pub tags: Option<Vec<String>>,
pub language: Option<String>,
pub user: Option<UserInfo>,
pub chatroom: Option<ChatroomInfo>,
}Expand description
Channel information from the Kick API
Fields§
§id: u64Channel ID
slug: StringChannel slug/name
title: Option<String>Channel title
followers_count: Option<u64>Number of followers
subscribers_count: Option<u64>Number of subscribers
is_live: boolIs channel currently live
viewers_count: Option<u64>Viewer count if live
category: Option<String>Stream category
Stream tags
language: Option<String>Channel language
user: Option<UserInfo>User information
chatroom: Option<ChatroomInfo>Chatroom information
Trait Implementations§
Source§impl Clone for ChannelInfo
impl Clone for ChannelInfo
Source§fn clone(&self) -> ChannelInfo
fn clone(&self) -> ChannelInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelInfo
impl Debug for ChannelInfo
Source§impl<'de> Deserialize<'de> for ChannelInfo
impl<'de> Deserialize<'de> for ChannelInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChannelInfo
impl RefUnwindSafe for ChannelInfo
impl Send for ChannelInfo
impl Sync for ChannelInfo
impl Unpin for ChannelInfo
impl UnwindSafe for ChannelInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more