Struct google_youtube3::PromotedItem[][src]

pub struct PromotedItem {
    pub timing: Option<InvideoTiming>,
    pub promoted_by_content_owner: Option<bool>,
    pub custom_message: Option<String>,
    pub id: Option<PromotedItemId>,
}

Describes a single promoted item.

This type is not used in any activity, and only used as part of another schema.

Fields

The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.

If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.

A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.

Identifies the promoted item.

Trait Implementations

impl Default for PromotedItem
[src]

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

impl Clone for PromotedItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PromotedItem
[src]

Formats the value using the given formatter. Read more

impl Part for PromotedItem
[src]

Auto Trait Implementations