pub struct StreamInfo {
pub is_live: bool,
pub started_at: Option<OffsetDateTime>,
pub title: String,
pub viewer_count: u64,
pub game: Option<GameInfo>,
pub tags: Vec<String>,
}Expand description
Information about a channel’s stream.
Fields§
§is_live: bool§started_at: Option<OffsetDateTime>§title: String§viewer_count: u64§game: Option<GameInfo>Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§impl Debug for StreamInfo
impl Debug for StreamInfo
Source§impl<'de> Deserialize<'de> for StreamInfo
impl<'de> Deserialize<'de> for StreamInfo
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 StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnsafeUnpin for StreamInfo
impl UnwindSafe for StreamInfo
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