pub struct GetInlineStylesForNode {
pub method: GetInlineStylesForNodeMethod,
pub params: GetInlineStylesForNodeParams,
}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§
§method: GetInlineStylesForNodeMethod§params: GetInlineStylesForNodeParamsImplementations§
Source§impl GetInlineStylesForNode
impl GetInlineStylesForNode
pub fn builder() -> GetInlineStylesForNodeBuilder
Source§impl GetInlineStylesForNode
impl GetInlineStylesForNode
pub const IDENTIFIER: &'static str = "CSS.getInlineStylesForNode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetInlineStylesForNode
impl Clone for GetInlineStylesForNode
Source§fn clone(&self) -> GetInlineStylesForNode
fn clone(&self) -> GetInlineStylesForNode
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 CommandResult for GetInlineStylesForNode
impl CommandResult for GetInlineStylesForNode
type Result = GetInlineStylesForNodeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetInlineStylesForNode
impl Debug for GetInlineStylesForNode
Source§impl<'de> Deserialize<'de> for GetInlineStylesForNode
impl<'de> Deserialize<'de> for GetInlineStylesForNode
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 From<GetInlineStylesForNode> for BrowserProtocolCommands
impl From<GetInlineStylesForNode> for BrowserProtocolCommands
Source§fn from(v: GetInlineStylesForNode) -> Self
fn from(v: GetInlineStylesForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetInlineStylesForNode> for Command
impl From<GetInlineStylesForNode> for Command
Source§fn from(v: GetInlineStylesForNode) -> Self
fn from(v: GetInlineStylesForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetInlineStylesForNode> for CssCommands
impl From<GetInlineStylesForNode> for CssCommands
Source§fn from(v: GetInlineStylesForNode) -> Self
fn from(v: GetInlineStylesForNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetInlineStylesForNode
impl PartialEq for GetInlineStylesForNode
Source§impl Serialize for GetInlineStylesForNode
impl Serialize for GetInlineStylesForNode
Source§impl TryFrom<BrowserProtocolCommands> for GetInlineStylesForNode
impl TryFrom<BrowserProtocolCommands> for GetInlineStylesForNode
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetInlineStylesForNode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetInlineStylesForNode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetInlineStylesForNode
impl TryFrom<Command> for GetInlineStylesForNode
Source§impl TryFrom<CssCommands> for GetInlineStylesForNode
impl TryFrom<CssCommands> for GetInlineStylesForNode
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <GetInlineStylesForNode as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <GetInlineStylesForNode as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetInlineStylesForNode
Auto Trait Implementations§
impl Freeze for GetInlineStylesForNode
impl RefUnwindSafe for GetInlineStylesForNode
impl Send for GetInlineStylesForNode
impl Sync for GetInlineStylesForNode
impl Unpin for GetInlineStylesForNode
impl UnsafeUnpin for GetInlineStylesForNode
impl UnwindSafe for GetInlineStylesForNode
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