Struct chromiumoxide::cdp::browser_protocol::css::GetBackgroundColorsReturns
source · 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§
source§impl Clone for GetBackgroundColorsReturns
impl Clone for GetBackgroundColorsReturns
source§fn clone(&self) -> GetBackgroundColorsReturns
fn clone(&self) -> GetBackgroundColorsReturns
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 Debug for GetBackgroundColorsReturns
impl Debug for GetBackgroundColorsReturns
source§impl Default for GetBackgroundColorsReturns
impl Default for GetBackgroundColorsReturns
source§fn default() -> GetBackgroundColorsReturns
fn default() -> GetBackgroundColorsReturns
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetBackgroundColorsReturns
impl<'de> Deserialize<'de> for GetBackgroundColorsReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetBackgroundColorsReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetBackgroundColorsReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetBackgroundColorsReturns
impl PartialEq for GetBackgroundColorsReturns
source§fn eq(&self, other: &GetBackgroundColorsReturns) -> bool
fn eq(&self, other: &GetBackgroundColorsReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetBackgroundColorsReturns
impl Serialize for GetBackgroundColorsReturns
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetBackgroundColorsReturns
Auto Trait Implementations§
impl Freeze for GetBackgroundColorsReturns
impl RefUnwindSafe for GetBackgroundColorsReturns
impl Send for GetBackgroundColorsReturns
impl Sync for GetBackgroundColorsReturns
impl Unpin for GetBackgroundColorsReturns
impl UnwindSafe for GetBackgroundColorsReturns
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