Struct google_adsensehost4d1::api::AdUnitContentAdsSettingsBackupOption[][src]

pub struct AdUnitContentAdsSettingsBackupOption {
    pub color: Option<String>,
    pub type_: Option<String>,
    pub url: Option<String>,
}

The backup option to be used in instances where no ad is available.

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

Fields

color: Option<String>

Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.

type_: Option<String>

Type of the backup option. Possible values are BLANK, COLOR and URL.

url: Option<String>

URL to use when type is set to URL.

Trait Implementations

impl Clone for AdUnitContentAdsSettingsBackupOption[src]

impl Debug for AdUnitContentAdsSettingsBackupOption[src]

impl Default for AdUnitContentAdsSettingsBackupOption[src]

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

impl NestedType for AdUnitContentAdsSettingsBackupOption[src]

impl Part for AdUnitContentAdsSettingsBackupOption[src]

impl Serialize for AdUnitContentAdsSettingsBackupOption[src]

Auto Trait Implementations

impl RefUnwindSafe for AdUnitContentAdsSettingsBackupOption[src]

impl Send for AdUnitContentAdsSettingsBackupOption[src]

impl Sync for AdUnitContentAdsSettingsBackupOption[src]

impl Unpin for AdUnitContentAdsSettingsBackupOption[src]

impl UnwindSafe for AdUnitContentAdsSettingsBackupOption[src]

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> Instrument 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.