#[non_exhaustive]pub struct ChannelInformation {
pub broadcaster_id: UserId,
pub broadcaster_login: UserName,
pub broadcaster_name: DisplayName,
pub game_id: CategoryId,
pub game_name: CategoryId,
pub broadcaster_language: String,
pub title: String,
pub description: String,
pub delay: i64,
}
Available on crate feature
helix
only.Expand description
Return Values for Get Channel Information
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.broadcaster_id: UserId
Twitch User ID of this channel owner
broadcaster_login: UserName
Twitch User login of this channel owner
broadcaster_name: DisplayName
Twitch user display name of this channel owner
game_id: CategoryId
Current game ID being played on the channel
game_name: CategoryId
Name of the game being played on the channel
broadcaster_language: String
Language of the channel
title: String
Title of the stream
description: String
Description of the stream
delay: i64
Stream delay in seconds
Trait Implementations
sourceimpl Clone for ChannelInformation
impl Clone for ChannelInformation
sourcefn clone(&self) -> ChannelInformation
fn clone(&self) -> ChannelInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChannelInformation
impl Debug for ChannelInformation
sourceimpl<'de> Deserialize<'de> for ChannelInformation
impl<'de> Deserialize<'de> for ChannelInformation
sourcefn 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
sourceimpl PartialEq<ChannelInformation> for ChannelInformation
impl PartialEq<ChannelInformation> for ChannelInformation
sourcefn eq(&self, other: &ChannelInformation) -> bool
fn eq(&self, other: &ChannelInformation) -> bool
sourceimpl Serialize for ChannelInformation
impl Serialize for ChannelInformation
impl Eq for ChannelInformation
impl StructuralEq for ChannelInformation
impl StructuralPartialEq for ChannelInformation
Auto Trait Implementations
impl RefUnwindSafe for ChannelInformation
impl Send for ChannelInformation
impl Sync for ChannelInformation
impl Unpin for ChannelInformation
impl UnwindSafe for ChannelInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.