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]
impl Default for PromotedItem
fn default() -> PromotedItem
[src]
fn default() -> PromotedItem
Returns the "default value" for a type. Read more
impl Clone for PromotedItem
[src]
impl Clone for PromotedItem
fn clone(&self) -> PromotedItem
[src]
fn clone(&self) -> PromotedItem
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 PromotedItem
[src]
impl Debug for PromotedItem
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 Part for PromotedItem
[src]
impl Part for PromotedItem
Auto Trait Implementations
impl Send for PromotedItem
impl Send for PromotedItem
impl Sync for PromotedItem
impl Sync for PromotedItem