Struct chromiumoxide_cdp::cdp::browser_protocol::css::GetInlineStylesForNodeReturns [−][src]
pub struct GetInlineStylesForNodeReturns { pub inline_style: Option<CssStyle>, pub attributes_style: Option<CssStyle>, }
Expand description
Returns the styles defined inline (explicitly in the “style” attribute and implicitly, using DOM
attributes) for a DOM node identified by nodeId
.
getInlineStylesForNode
Fields
inline_style: Option<CssStyle>
Inline style for the specified DOM node.
attributes_style: Option<CssStyle>
Attribute-defined element style (e.g. resulting from “width=20 height=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 Send for GetInlineStylesForNodeReturns
impl Sync for GetInlineStylesForNodeReturns
impl Unpin for GetInlineStylesForNodeReturns
impl UnwindSafe for GetInlineStylesForNodeReturns
Blanket Implementations
Mutably borrows from an owned value. Read more