Struct chromiumoxide_cdp::cdp::browser_protocol::css::GetBackgroundColorsReturns [−][src]
pub struct GetBackgroundColorsReturns { pub background_colors: Option<Vec<String>>, pub computed_font_size: Option<String>, pub computed_font_weight: Option<String>, }
Fields
background_colors: Option<Vec<String>>
The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).
computed_font_size: Option<String>
The computed font size for this node, as a CSS computed value string (e.g. ‘12px’).
computed_font_weight: Option<String>
The computed font weight for this node, as a CSS computed value string (e.g. ‘normal’ or ‘100’).
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetBackgroundColorsReturns
impl Send for GetBackgroundColorsReturns
impl Sync for GetBackgroundColorsReturns
impl Unpin for GetBackgroundColorsReturns
impl UnwindSafe for GetBackgroundColorsReturns
Blanket Implementations
Mutably borrows from an owned value. Read more