[][src]Struct youtube_api::models::EndscreenElementRenderer

pub struct EndscreenElementRenderer {
    pub style: EndcardStyle,
    pub image: WatermarkClass,
    pub icon: Option<Icon>,
    pub left: f64,
    pub width: f64,
    pub top: f64,
    pub aspect_ratio: f64,
    pub start_ms: String,
    pub end_ms: String,
    pub title: Title,
    pub metadata: Description,
    pub call_to_action: Option<Description>,
    pub dismiss: Option<Description>,
    pub endpoint: Endpoint,
    pub hovercard_button: Option<SubscribeButtonClass>,
    pub tracking_params: String,
    pub is_subscribe: Option<bool>,
    pub signin_endpoint: Option<SigninEndpoint>,
    pub use_classic_subscribe_button: Option<bool>,
    pub id: String,
    pub video_duration: Option<Description>,
    pub playlist_length: Option<Description>,
}

Fields

style: EndcardStyleimage: WatermarkClassicon: Option<Icon>left: f64width: f64top: f64aspect_ratio: f64start_ms: Stringend_ms: Stringtitle: Titlemetadata: Descriptioncall_to_action: Option<Description>dismiss: Option<Description>endpoint: Endpointhovercard_button: Option<SubscribeButtonClass>tracking_params: Stringis_subscribe: Option<bool>signin_endpoint: Option<SigninEndpoint>use_classic_subscribe_button: Option<bool>id: Stringvideo_duration: Option<Description>playlist_length: Option<Description>

Trait Implementations

impl Clone for EndscreenElementRenderer[src]

impl Debug for EndscreenElementRenderer[src]

impl<'de> Deserialize<'de> for EndscreenElementRenderer[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> Same<T> for T

type Output = T

Should always be Self

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.