pub struct SetEffectivePropertyValueForNodeParams<'a> { /* private fields */ }Expand description
Find a rule with the given active property for the given node and set the new value for this property
Implementations§
Source§impl<'a> SetEffectivePropertyValueForNodeParams<'a>
impl<'a> SetEffectivePropertyValueForNodeParams<'a>
Sourcepub fn builder(
node_id: NodeId,
property_name: impl Into<Cow<'a, str>>,
value: impl Into<Cow<'a, str>>,
) -> SetEffectivePropertyValueForNodeParamsBuilder<'a>
pub fn builder( node_id: NodeId, property_name: impl Into<Cow<'a, str>>, value: impl Into<Cow<'a, str>>, ) -> SetEffectivePropertyValueForNodeParamsBuilder<'a>
Creates a builder for this type with the required parameters:
node_id: The element id for which to set property.property_name:value:
pub fn property_name(&self) -> &str
pub fn value(&self) -> &str
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> CdpCommand<'a> for SetEffectivePropertyValueForNodeParams<'a>
Source§impl<'a> Clone for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Clone for SetEffectivePropertyValueForNodeParams<'a>
Source§fn clone(&self) -> SetEffectivePropertyValueForNodeParams<'a>
fn clone(&self) -> SetEffectivePropertyValueForNodeParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Debug for SetEffectivePropertyValueForNodeParams<'a>
Source§impl<'a> Default for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Default for SetEffectivePropertyValueForNodeParams<'a>
Source§fn default() -> SetEffectivePropertyValueForNodeParams<'a>
fn default() -> SetEffectivePropertyValueForNodeParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetEffectivePropertyValueForNodeParams<'a>
impl<'de, 'a> Deserialize<'de> for SetEffectivePropertyValueForNodeParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> RefUnwindSafe for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Send for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Sync for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> Unpin for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> UnsafeUnpin for SetEffectivePropertyValueForNodeParams<'a>
impl<'a> UnwindSafe for SetEffectivePropertyValueForNodeParams<'a>
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