pub struct CreateStyleSheet {
pub method: CreateStyleSheetMethod,
pub params: CreateStyleSheetParams,
}Expand description
Creates a new special “via-inspector” stylesheet in the frame with given frameId.
createStyleSheet
Fields§
§method: CreateStyleSheetMethod§params: CreateStyleSheetParamsImplementations§
Source§impl CreateStyleSheet
impl CreateStyleSheet
pub fn builder() -> CreateStyleSheetBuilder
Source§impl CreateStyleSheet
impl CreateStyleSheet
pub const IDENTIFIER: &'static str = "CSS.createStyleSheet"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CreateStyleSheet
impl Clone for CreateStyleSheet
Source§fn clone(&self) -> CreateStyleSheet
fn clone(&self) -> CreateStyleSheet
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 CreateStyleSheet
impl CommandResult for CreateStyleSheet
type Result = CreateStyleSheetResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CreateStyleSheet
impl Debug for CreateStyleSheet
Source§impl<'de> Deserialize<'de> for CreateStyleSheet
impl<'de> Deserialize<'de> for CreateStyleSheet
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<CreateStyleSheet> for BrowserProtocolCommands
impl From<CreateStyleSheet> for BrowserProtocolCommands
Source§fn from(v: CreateStyleSheet) -> Self
fn from(v: CreateStyleSheet) -> Self
Converts to this type from the input type.
Source§impl From<CreateStyleSheet> for Command
impl From<CreateStyleSheet> for Command
Source§fn from(v: CreateStyleSheet) -> Self
fn from(v: CreateStyleSheet) -> Self
Converts to this type from the input type.
Source§impl From<CreateStyleSheet> for CssCommands
impl From<CreateStyleSheet> for CssCommands
Source§fn from(v: CreateStyleSheet) -> Self
fn from(v: CreateStyleSheet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CreateStyleSheet
impl PartialEq for CreateStyleSheet
Source§impl Serialize for CreateStyleSheet
impl Serialize for CreateStyleSheet
Source§impl TryFrom<BrowserProtocolCommands> for CreateStyleSheet
impl TryFrom<BrowserProtocolCommands> for CreateStyleSheet
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, <CreateStyleSheet as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <CreateStyleSheet as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CreateStyleSheet
impl TryFrom<Command> for CreateStyleSheet
Source§impl TryFrom<CssCommands> for CreateStyleSheet
impl TryFrom<CssCommands> for CreateStyleSheet
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, <CreateStyleSheet as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <CreateStyleSheet as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for CreateStyleSheet
Auto Trait Implementations§
impl Freeze for CreateStyleSheet
impl RefUnwindSafe for CreateStyleSheet
impl Send for CreateStyleSheet
impl Sync for CreateStyleSheet
impl Unpin for CreateStyleSheet
impl UnsafeUnpin for CreateStyleSheet
impl UnwindSafe for CreateStyleSheet
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