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
timing: Option<InvideoTiming>
The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
promoted_by_content_owner: Option<bool>
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.
custom_message: Option<String>
A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
id: Option<PromotedItemId>
Identifies the promoted item.
Trait Implementations
impl Default for PromotedItem
[src]
fn default() -> PromotedItem
Returns the "default value" for a type. Read more
impl Clone for PromotedItem
[src]
fn clone(&self) -> PromotedItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more