Struct cdp::css::SetEffectivePropertyValueForNodeCommand
[−]
[src]
pub struct SetEffectivePropertyValueForNodeCommand<'a> { pub node_id: NodeId, pub property_name: Cow<'a, str>, pub value: Cow<'a, str>, }
[Experimental] Find a rule with the given active property for the given node and set the new value for this property
Command CSS.setEffectivePropertyValueForNode
Domain Module: cdp::css
Command Struct: cdp::css::SetEffectivePropertyValueForNodeCommand
Response Struct: cdp::css::SetEffectivePropertyValueForNodeResponse
Fields
node_id: NodeId
The element id for which to set property.
property_name: Cow<'a, str>
value: Cow<'a, str>
Trait Implementations
impl<'a> Clone for SetEffectivePropertyValueForNodeCommand<'a>
[src]
fn clone(&self) -> SetEffectivePropertyValueForNodeCommand<'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 SetEffectivePropertyValueForNodeCommand<'a>
[src]
impl<'a> PartialEq for SetEffectivePropertyValueForNodeCommand<'a>
[src]
fn eq(&self, __arg_0: &SetEffectivePropertyValueForNodeCommand<'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: &SetEffectivePropertyValueForNodeCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for SetEffectivePropertyValueForNodeCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "CSS.setEffectivePropertyValueForNode"
impl<'a> SerializeCdpCommand for SetEffectivePropertyValueForNodeCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for SetEffectivePropertyValueForNodeCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,