pub struct SetRuleSelector {
pub method: SetRuleSelectorMethod,
pub params: SetRuleSelectorParams,
}Expand description
Modifies the rule selector. setRuleSelector
Fields§
§method: SetRuleSelectorMethod§params: SetRuleSelectorParamsImplementations§
Source§impl SetRuleSelector
impl SetRuleSelector
pub fn builder() -> SetRuleSelectorBuilder
Source§impl SetRuleSelector
impl SetRuleSelector
pub const IDENTIFIER: &'static str = "CSS.setRuleSelector"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetRuleSelector
impl Clone for SetRuleSelector
Source§fn clone(&self) -> SetRuleSelector
fn clone(&self) -> SetRuleSelector
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 SetRuleSelector
impl CommandResult for SetRuleSelector
type Result = SetRuleSelectorResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetRuleSelector
impl Debug for SetRuleSelector
Source§impl<'de> Deserialize<'de> for SetRuleSelector
impl<'de> Deserialize<'de> for SetRuleSelector
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<SetRuleSelector> for BrowserProtocolCommands
impl From<SetRuleSelector> for BrowserProtocolCommands
Source§fn from(v: SetRuleSelector) -> Self
fn from(v: SetRuleSelector) -> Self
Converts to this type from the input type.
Source§impl From<SetRuleSelector> for Command
impl From<SetRuleSelector> for Command
Source§fn from(v: SetRuleSelector) -> Self
fn from(v: SetRuleSelector) -> Self
Converts to this type from the input type.
Source§impl From<SetRuleSelector> for CssCommands
impl From<SetRuleSelector> for CssCommands
Source§fn from(v: SetRuleSelector) -> Self
fn from(v: SetRuleSelector) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetRuleSelector
impl PartialEq for SetRuleSelector
Source§impl Serialize for SetRuleSelector
impl Serialize for SetRuleSelector
Source§impl TryFrom<BrowserProtocolCommands> for SetRuleSelector
impl TryFrom<BrowserProtocolCommands> for SetRuleSelector
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, <SetRuleSelector as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetRuleSelector as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetRuleSelector
impl TryFrom<Command> for SetRuleSelector
Source§impl TryFrom<CssCommands> for SetRuleSelector
impl TryFrom<CssCommands> for SetRuleSelector
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, <SetRuleSelector as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <SetRuleSelector as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetRuleSelector
Auto Trait Implementations§
impl Freeze for SetRuleSelector
impl RefUnwindSafe for SetRuleSelector
impl Send for SetRuleSelector
impl Sync for SetRuleSelector
impl Unpin for SetRuleSelector
impl UnsafeUnpin for SetRuleSelector
impl UnwindSafe for SetRuleSelector
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