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.
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).
Implementations§
Trait Implementations§
Source§impl Clone for CreateStyleSheetParams
impl Clone for CreateStyleSheetParams
Source§fn clone(&self) -> CreateStyleSheetParams
fn clone(&self) -> CreateStyleSheetParams
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 Debug for CreateStyleSheetParams
impl Debug 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 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