Struct google_youtube3::api::LiveBroadcastStatistics
source · pub struct LiveBroadcastStatistics {
pub concurrent_viewers: Option<u64>,
}
Expand description
Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.
This type is not used in any activity, and only used as part of another schema.
Fields§
§concurrent_viewers: Option<u64>
The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
Trait Implementations§
source§impl Clone for LiveBroadcastStatistics
impl Clone for LiveBroadcastStatistics
source§fn clone(&self) -> LiveBroadcastStatistics
fn clone(&self) -> LiveBroadcastStatistics
Returns a copy 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 LiveBroadcastStatistics
impl Debug for LiveBroadcastStatistics
source§impl Default for LiveBroadcastStatistics
impl Default for LiveBroadcastStatistics
source§fn default() -> LiveBroadcastStatistics
fn default() -> LiveBroadcastStatistics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveBroadcastStatistics
impl<'de> Deserialize<'de> for LiveBroadcastStatistics
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
source§impl Serialize for LiveBroadcastStatistics
impl Serialize for LiveBroadcastStatistics
impl Part for LiveBroadcastStatistics
Auto Trait Implementations§
impl RefUnwindSafe for LiveBroadcastStatistics
impl Send for LiveBroadcastStatistics
impl Sync for LiveBroadcastStatistics
impl Unpin for LiveBroadcastStatistics
impl UnwindSafe for LiveBroadcastStatistics
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