[][src]Struct google_youtube3::Channel

pub struct Channel {
    pub status: Option<ChannelStatus>,
    pub invideo_promotion: Option<InvideoPromotion>,
    pub kind: Option<String>,
    pub statistics: Option<ChannelStatistics>,
    pub content_owner_details: Option<ChannelContentOwnerDetails>,
    pub topic_details: Option<ChannelTopicDetails>,
    pub content_details: Option<ChannelContentDetails>,
    pub branding_settings: Option<ChannelBrandingSettings>,
    pub conversion_pings: Option<ChannelConversionPings>,
    pub snippet: Option<ChannelSnippet>,
    pub audit_details: Option<ChannelAuditDetails>,
    pub etag: Option<String>,
    pub id: Option<String>,
    pub localizations: Option<HashMap<String, ChannelLocalization>>,
}

A channel resource contains information about a YouTube channel.

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

Fields

status: Option<ChannelStatus>

The status object encapsulates information about the privacy status of the channel.

invideo_promotion: Option<InvideoPromotion>

The invideoPromotion object encapsulates information about promotion campaign associated with the channel.

kind: Option<String>

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

statistics: Option<ChannelStatistics>

The statistics object encapsulates statistics for the channel.

content_owner_details: Option<ChannelContentOwnerDetails>

The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.

topic_details: Option<ChannelTopicDetails>

The topicDetails object encapsulates information about Freebase topics associated with the channel.

content_details: Option<ChannelContentDetails>

The contentDetails object encapsulates information about the channel's content.

branding_settings: Option<ChannelBrandingSettings>

The brandingSettings object encapsulates information about the branding of the channel.

conversion_pings: Option<ChannelConversionPings>

The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.

snippet: Option<ChannelSnippet>

The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.

audit_details: Option<ChannelAuditDetails>

The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.

etag: Option<String>

Etag of this resource.

id: Option<String>

The ID that YouTube uses to uniquely identify the channel.

localizations: Option<HashMap<String, ChannelLocalization>>

Localizations for different languages

Trait Implementations

impl Clone for Channel[src]

impl Debug for Channel[src]

impl Default for Channel[src]

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

impl RequestValue for Channel[src]

impl Resource for Channel[src]

impl ResponseResult for Channel[src]

impl Serialize for Channel[src]

impl ToParts for Channel[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.

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any