pub struct AdUnitContentAdsSettingsBackupOption {
pub color: Option<String>,
pub type_: Option<String>,
pub url: Option<String>,
}
Expand description
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§
source§impl Clone for AdUnitContentAdsSettingsBackupOption
impl Clone for AdUnitContentAdsSettingsBackupOption
source§fn clone(&self) -> AdUnitContentAdsSettingsBackupOption
fn clone(&self) -> AdUnitContentAdsSettingsBackupOption
Returns a copy 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 Default for AdUnitContentAdsSettingsBackupOption
impl Default for AdUnitContentAdsSettingsBackupOption
source§fn default() -> AdUnitContentAdsSettingsBackupOption
fn default() -> AdUnitContentAdsSettingsBackupOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AdUnitContentAdsSettingsBackupOption
impl<'de> Deserialize<'de> for AdUnitContentAdsSettingsBackupOption
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
impl NestedType for AdUnitContentAdsSettingsBackupOption
impl Part for AdUnitContentAdsSettingsBackupOption
Auto Trait Implementations§
impl RefUnwindSafe for AdUnitContentAdsSettingsBackupOption
impl Send for AdUnitContentAdsSettingsBackupOption
impl Sync for AdUnitContentAdsSettingsBackupOption
impl Unpin for AdUnitContentAdsSettingsBackupOption
impl UnwindSafe for AdUnitContentAdsSettingsBackupOption
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