Struct google_youtube3::api::LiveBroadcast
source · pub struct LiveBroadcast {
pub content_details: Option<LiveBroadcastContentDetails>,
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub monetization_details: Option<LiveBroadcastMonetizationDetails>,
pub snippet: Option<LiveBroadcastSnippet>,
pub statistics: Option<LiveBroadcastStatistics>,
pub status: Option<LiveBroadcastStatus>,
}
Expand description
A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- bind live broadcasts (response)
- delete live broadcasts (none)
- insert live broadcasts (request|response)
- insert cuepoint live broadcasts (none)
- list live broadcasts (none)
- transition live broadcasts (response)
- update live broadcasts (request|response)
Fields§
§content_details: Option<LiveBroadcastContentDetails>
The contentDetails object contains information about the event’s video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube assigns to uniquely identify the broadcast.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#liveBroadcast”.
monetization_details: Option<LiveBroadcastMonetizationDetails>
The monetizationDetails object contains information about the event’s monetization details.
snippet: Option<LiveBroadcastSnippet>
The snippet object contains basic details about the event, including its title, description, start time, and end time.
statistics: Option<LiveBroadcastStatistics>
The statistics object contains info about the event’s current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
status: Option<LiveBroadcastStatus>
The status object contains information about the event’s status.
Trait Implementations§
source§impl Clone for LiveBroadcast
impl Clone for LiveBroadcast
source§fn clone(&self) -> LiveBroadcast
fn clone(&self) -> LiveBroadcast
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more