Struct cdp::css::GetInlineStylesForNodeResponse
[−]
[src]
pub struct GetInlineStylesForNodeResponse<'a> { pub inline_style: Option<CssStyle<'a>>, pub attributes_style: Option<CssStyle<'a>>, }
[Experimental] Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by nodeId
.
Command CSS.getInlineStylesForNode
Domain Module: cdp::css
Command Struct: cdp::css::GetInlineStylesForNodeCommand
Response Struct: cdp::css::GetInlineStylesForNodeResponse
Fields
inline_style: Option<CssStyle<'a>>
Inline style for the specified DOM node.
attributes_style: Option<CssStyle<'a>>
Attribute-defined element style (e.g. resulting from "width=20 height=100%").
Trait Implementations
impl<'a> Clone for GetInlineStylesForNodeResponse<'a>
[src]
fn clone(&self) -> GetInlineStylesForNodeResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for GetInlineStylesForNodeResponse<'a>
[src]
impl<'a> PartialEq for GetInlineStylesForNodeResponse<'a>
[src]
fn eq(&self, __arg_0: &GetInlineStylesForNodeResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetInlineStylesForNodeResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for GetInlineStylesForNodeResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "CSS.getInlineStylesForNode"