Struct google_adsensehost4d1::AdUnitContentAdsSettingsBackupOption [−][src]
pub struct AdUnitContentAdsSettingsBackupOption { pub color: Option<String>, pub url: Option<String>, pub type_: 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.
url: Option<String>
URL to use when type is set to URL.
type_: Option<String>
Type of the backup option. Possible values are BLANK, COLOR and URL.
Trait Implementations
impl Default for AdUnitContentAdsSettingsBackupOption
[src]
impl Default for AdUnitContentAdsSettingsBackupOption
fn default() -> AdUnitContentAdsSettingsBackupOption
[src]
fn default() -> AdUnitContentAdsSettingsBackupOption
Returns the "default value" for a type. Read more
impl Clone for AdUnitContentAdsSettingsBackupOption
[src]
impl Clone for AdUnitContentAdsSettingsBackupOption
fn clone(&self) -> AdUnitContentAdsSettingsBackupOption
[src]
fn clone(&self) -> AdUnitContentAdsSettingsBackupOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AdUnitContentAdsSettingsBackupOption
[src]
impl Debug for AdUnitContentAdsSettingsBackupOption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NestedType for AdUnitContentAdsSettingsBackupOption
[src]
impl NestedType for AdUnitContentAdsSettingsBackupOption
impl Part for AdUnitContentAdsSettingsBackupOption
[src]
impl Part for AdUnitContentAdsSettingsBackupOption
Auto Trait Implementations
impl Send for AdUnitContentAdsSettingsBackupOption
impl Send for AdUnitContentAdsSettingsBackupOption
impl Sync for AdUnitContentAdsSettingsBackupOption
impl Sync for AdUnitContentAdsSettingsBackupOption