pub struct AdStyleColors {
pub background: Option<String>,
pub border: Option<String>,
pub text: Option<String>,
pub title: Option<String>,
pub url: Option<String>,
}Expand description
The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
This type is not used in any activity, and only used as part of another schema.
Fields§
§background: Option<String>The color of the ad background.
border: Option<String>The color of the ad border.
text: Option<String>The color of the ad text.
title: Option<String>The color of the ad title.
url: Option<String>The color of the ad url.
Trait Implementations§
Source§impl Clone for AdStyleColors
impl Clone for AdStyleColors
Source§fn clone(&self) -> AdStyleColors
fn clone(&self) -> AdStyleColors
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 AdStyleColors
impl Debug for AdStyleColors
Source§impl Default for AdStyleColors
impl Default for AdStyleColors
Source§fn default() -> AdStyleColors
fn default() -> AdStyleColors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdStyleColors
impl<'de> Deserialize<'de> for AdStyleColors
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
Source§impl Serialize for AdStyleColors
impl Serialize for AdStyleColors
impl NestedType for AdStyleColors
impl Part for AdStyleColors
Auto Trait Implementations§
impl Freeze for AdStyleColors
impl RefUnwindSafe for AdStyleColors
impl Send for AdStyleColors
impl Sync for AdStyleColors
impl Unpin for AdStyleColors
impl UnwindSafe for AdStyleColors
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