[][src]Struct google_youtube3::LiveBroadcast

pub struct LiveBroadcast {
    pub status: Option<LiveBroadcastStatus>,
    pub snippet: Option<LiveBroadcastSnippet>,
    pub kind: Option<String>,
    pub statistics: Option<LiveBroadcastStatistics>,
    pub etag: Option<String>,
    pub content_details: Option<LiveBroadcastContentDetails>,
    pub id: Option<String>,

A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.


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).


status: Option<LiveBroadcastStatus>

The status object contains information about the event's status.

snippet: Option<LiveBroadcastSnippet>

The snippet object contains basic details about the event, including its title, description, start time, and end time.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".

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.

etag: Option<String>

Etag of this resource.

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.

id: Option<String>

The ID that YouTube assigns to uniquely identify the broadcast.

Trait Implementations

impl Resource for LiveBroadcast[src]

impl ResponseResult for LiveBroadcast[src]

impl RequestValue for LiveBroadcast[src]

impl ToParts for LiveBroadcast[src]

fn to_parts(&self) -> String[src]

Return a comma separated list of members that are currently set, i.e. for which self.member.is_some(). The produced string is suitable for use as a parts list that indicates the parts you are sending, and/or the parts you want to see in the server response.

impl Default for LiveBroadcast[src]

impl Clone for LiveBroadcast[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for LiveBroadcast[src]

impl Serialize for LiveBroadcast[src]

impl<'de> Deserialize<'de> for LiveBroadcast[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>,