pub struct ImageSettings {
Show 22 fields pub background_image_url: Option<LocalizedProperty>, pub banner_external_url: Option<String>, pub banner_image_url: Option<String>, pub banner_mobile_extra_hd_image_url: Option<String>, pub banner_mobile_hd_image_url: Option<String>, pub banner_mobile_image_url: Option<String>, pub banner_mobile_low_image_url: Option<String>, pub banner_mobile_medium_hd_image_url: Option<String>, pub banner_tablet_extra_hd_image_url: Option<String>, pub banner_tablet_hd_image_url: Option<String>, pub banner_tablet_image_url: Option<String>, pub banner_tablet_low_image_url: Option<String>, pub banner_tv_high_image_url: Option<String>, pub banner_tv_image_url: Option<String>, pub banner_tv_low_image_url: Option<String>, pub banner_tv_medium_image_url: Option<String>, pub large_branded_banner_image_imap_script: Option<LocalizedProperty>, pub large_branded_banner_image_url: Option<LocalizedProperty>, pub small_branded_banner_image_imap_script: Option<LocalizedProperty>, pub small_branded_banner_image_url: Option<LocalizedProperty>, pub tracking_image_url: Option<String>, pub watch_icon_image_url: Option<String>,
}
Expand description

Branding properties for images associated with the channel.

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

Fields§

§background_image_url: Option<LocalizedProperty>

The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k.

§banner_external_url: Option<String>

This is generated when a ChannelBanner.Insert request has succeeded for the given channel.

§banner_image_url: Option<String>

Banner image. Desktop size (1060x175).

§banner_mobile_extra_hd_image_url: Option<String>

Banner image. Mobile size high resolution (1440x395).

§banner_mobile_hd_image_url: Option<String>

Banner image. Mobile size high resolution (1280x360).

§banner_mobile_image_url: Option<String>

Banner image. Mobile size (640x175).

§banner_mobile_low_image_url: Option<String>

Banner image. Mobile size low resolution (320x88).

§banner_mobile_medium_hd_image_url: Option<String>

Banner image. Mobile size medium/high resolution (960x263).

§banner_tablet_extra_hd_image_url: Option<String>

Banner image. Tablet size extra high resolution (2560x424).

§banner_tablet_hd_image_url: Option<String>

Banner image. Tablet size high resolution (2276x377).

§banner_tablet_image_url: Option<String>

Banner image. Tablet size (1707x283).

§banner_tablet_low_image_url: Option<String>

Banner image. Tablet size low resolution (1138x188).

§banner_tv_high_image_url: Option<String>

Banner image. TV size high resolution (1920x1080).

§banner_tv_image_url: Option<String>

Banner image. TV size extra high resolution (2120x1192).

§banner_tv_low_image_url: Option<String>

Banner image. TV size low resolution (854x480).

§banner_tv_medium_image_url: Option<String>

Banner image. TV size medium resolution (1280x720).

§large_branded_banner_image_imap_script: Option<LocalizedProperty>

The image map script for the large banner image.

§large_branded_banner_image_url: Option<LocalizedProperty>

The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.

§small_branded_banner_image_imap_script: Option<LocalizedProperty>

The image map script for the small banner image.

§small_branded_banner_image_url: Option<LocalizedProperty>

The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page. The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.

§tracking_image_url: Option<String>

The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.

§watch_icon_image_url: Option<String>

no description provided

Trait Implementations§

source§

impl Clone for ImageSettings

source§

fn clone(&self) -> ImageSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImageSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ImageSettings

source§

fn default() -> ImageSettings

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ImageSettings

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ImageSettings

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for ImageSettings

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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