Struct google_youtube3::Sponsor [] [src]

pub struct Sponsor {
    pub snippet: Option<SponsorSnippet>,
    pub kind: Option<String>,
    pub etag: Option<String>,
    pub id: Option<String>,
}

A sponsor resource represents a sponsor for a YouTube channel. A sponsor provides recurring monetary support to a creator and receives special benefits.

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

The snippet object contains basic details about the sponsor.

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

Etag of this resource.

The ID that YouTube assigns to uniquely identify the sponsor.

Trait Implementations

impl Default for Sponsor
[src]

Returns the "default value" for a type. Read more

impl Clone for Sponsor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sponsor
[src]

Formats the value using the given formatter.

impl Resource for Sponsor
[src]

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