pub struct EndscreenElementRenderer {Show 22 fields
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: EndcardStyle
§image: WatermarkClass
§icon: Option<Icon>
§left: f64
§width: f64
§top: f64
§aspect_ratio: f64
§start_ms: String
§end_ms: String
§title: Title
§metadata: Description
§call_to_action: Option<Description>
§dismiss: Option<Description>
§endpoint: Endpoint
§tracking_params: String
§is_subscribe: Option<bool>
§signin_endpoint: Option<SigninEndpoint>
§id: String
§video_duration: Option<Description>
§playlist_length: Option<Description>
Trait Implementations§
Source§impl Clone for EndscreenElementRenderer
impl Clone for EndscreenElementRenderer
Source§fn clone(&self) -> EndscreenElementRenderer
fn clone(&self) -> EndscreenElementRenderer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EndscreenElementRenderer
impl Debug for EndscreenElementRenderer
Source§impl<'de> Deserialize<'de> for EndscreenElementRenderer
impl<'de> Deserialize<'de> for EndscreenElementRenderer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EndscreenElementRenderer
impl RefUnwindSafe for EndscreenElementRenderer
impl Send for EndscreenElementRenderer
impl Sync for EndscreenElementRenderer
impl Unpin for EndscreenElementRenderer
impl UnwindSafe for EndscreenElementRenderer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more