pub struct FollowedChannelLivestream {
pub id: u64,
pub channel_id: Option<u64>,
pub session_title: Option<String>,
pub is_live: bool,
pub is_mature: bool,
pub language: Option<String>,
pub viewer_count: u64,
pub start_time: Option<String>,
pub categories: Vec<FollowedChannelCategory>,
}Expand description
Livestream info within a followed channel response.
Fields§
§id: u64Livestream ID
channel_id: Option<u64>Channel ID
session_title: Option<String>Stream title
is_live: boolWhether the stream is currently live
is_mature: boolWhether the stream is marked as mature
language: Option<String>Stream language
viewer_count: u64Current viewer count
start_time: Option<String>When the stream started (ISO 8601)
categories: Vec<FollowedChannelCategory>Stream categories
Trait Implementations§
Source§impl Clone for FollowedChannelLivestream
impl Clone for FollowedChannelLivestream
Source§fn clone(&self) -> FollowedChannelLivestream
fn clone(&self) -> FollowedChannelLivestream
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 FollowedChannelLivestream
impl Debug for FollowedChannelLivestream
Source§impl<'de> Deserialize<'de> for FollowedChannelLivestream
impl<'de> Deserialize<'de> for FollowedChannelLivestream
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 FollowedChannelLivestream
impl RefUnwindSafe for FollowedChannelLivestream
impl Send for FollowedChannelLivestream
impl Sync for FollowedChannelLivestream
impl Unpin for FollowedChannelLivestream
impl UnsafeUnpin for FollowedChannelLivestream
impl UnwindSafe for FollowedChannelLivestream
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