Struct google_youtube3::Sponsor [−][src]
pub struct Sponsor { pub snippet: Option<SponsorSnippet>, pub kind: Option<String>, pub etag: 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).
- list sponsors (none)
Fields
snippet: Option<SponsorSnippet>
The snippet object contains basic details about the sponsor.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "youtube#sponsor".
etag: Option<String>
Etag of this resource.
Trait Implementations
impl Default for Sponsor
[src]
impl Default for Sponsor
impl Clone for Sponsor
[src]
impl Clone for Sponsor
fn clone(&self) -> Sponsor
[src]
fn clone(&self) -> Sponsor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Sponsor
[src]
impl Debug for Sponsor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Sponsor
[src]
impl Resource for Sponsor
impl ToParts for Sponsor
[src]
impl ToParts for Sponsor