[][src]Struct google_youtube3::InvideoPromotion

pub struct InvideoPromotion {
    pub default_timing: Option<InvideoTiming>,
    pub items: Option<Vec<PromotedItem>>,
    pub use_smart_timing: Option<bool>,
    pub position: Option<InvideoPosition>,
}

Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.

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

Fields

default_timing: Option<InvideoTiming>

The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.

items: Option<Vec<PromotedItem>>

List of promoted items in decreasing priority.

use_smart_timing: Option<bool>

Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video.

position: Option<InvideoPosition>

The spatial position within the video where the promoted item will be displayed.

Trait Implementations

impl Clone for InvideoPromotion[src]

impl Debug for InvideoPromotion[src]

impl Default for InvideoPromotion[src]

impl<'de> Deserialize<'de> for InvideoPromotion[src]

impl Part for InvideoPromotion[src]

impl Serialize for InvideoPromotion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any