pub struct CreateStyleSheetParams {
pub frame_id: FrameId,
pub force: Option<bool>,
}Expand description
Creates a new special “via-inspector” stylesheet in the frame with given
frameId.
Parameters of CSS.createStyleSheet.
Fields§
§frame_id: FrameIdIdentifier of the frame where “via-inspector” stylesheet should be created.
force: Option<bool>If true, creates a new stylesheet for every call. If false, returns a stylesheet previously created by a call with force=false for the frame’s document if it exists or creates a new stylesheet (default: false).
Trait Implementations§
Source§impl Clone for CreateStyleSheetParams
impl Clone for CreateStyleSheetParams
Source§impl Command for CreateStyleSheetParams
impl Command for CreateStyleSheetParams
Source§impl Debug for CreateStyleSheetParams
impl Debug for CreateStyleSheetParams
Source§impl Default for CreateStyleSheetParams
impl Default for CreateStyleSheetParams
Source§impl<'de> Deserialize<'de> for CreateStyleSheetParams
impl<'de> Deserialize<'de> for CreateStyleSheetParams
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 PartialEq for CreateStyleSheetParams
impl PartialEq for CreateStyleSheetParams
Source§impl Serialize for CreateStyleSheetParams
impl Serialize for CreateStyleSheetParams
impl StructuralPartialEq for CreateStyleSheetParams
Auto Trait Implementations§
impl Forget for CreateStyleSheetParams
impl Freeze for CreateStyleSheetParams
impl RefUnwindSafe for CreateStyleSheetParams
impl Send for CreateStyleSheetParams
impl Sync for CreateStyleSheetParams
impl Unpin for CreateStyleSheetParams
impl UnsafeUnpin for CreateStyleSheetParams
impl UnwindSafe for CreateStyleSheetParams
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