Struct chromiumoxide::cdp::browser_protocol::overlay::SetShowPaintRectsParams
source · pub struct SetShowPaintRectsParams {
pub result: bool,
}
Expand description
Requests that backend shows paint rectangles setShowPaintRects
Fields§
§result: bool
True for showing paint rectangles
Implementations§
source§impl SetShowPaintRectsParams
impl SetShowPaintRectsParams
pub fn new(result: impl Into<bool>) -> SetShowPaintRectsParams
source§impl SetShowPaintRectsParams
impl SetShowPaintRectsParams
pub const IDENTIFIER: &'static str = "Overlay.setShowPaintRects"
Trait Implementations§
source§impl Clone for SetShowPaintRectsParams
impl Clone for SetShowPaintRectsParams
source§fn clone(&self) -> SetShowPaintRectsParams
fn clone(&self) -> SetShowPaintRectsParams
Returns a copy 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 Command for SetShowPaintRectsParams
impl Command for SetShowPaintRectsParams
§type Response = SetShowPaintRectsReturns
type Response = SetShowPaintRectsReturns
The type of the response this request triggers on the chromium server
source§impl Debug for SetShowPaintRectsParams
impl Debug for SetShowPaintRectsParams
source§impl<'de> Deserialize<'de> for SetShowPaintRectsParams
impl<'de> Deserialize<'de> for SetShowPaintRectsParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SetShowPaintRectsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetShowPaintRectsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for SetShowPaintRectsParams
impl Method for SetShowPaintRectsParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for SetShowPaintRectsParams
impl MethodType for SetShowPaintRectsParams
source§impl PartialEq for SetShowPaintRectsParams
impl PartialEq for SetShowPaintRectsParams
source§fn eq(&self, other: &SetShowPaintRectsParams) -> bool
fn eq(&self, other: &SetShowPaintRectsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetShowPaintRectsParams
impl Serialize for SetShowPaintRectsParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetShowPaintRectsParams
Auto Trait Implementations§
impl Freeze for SetShowPaintRectsParams
impl RefUnwindSafe for SetShowPaintRectsParams
impl Send for SetShowPaintRectsParams
impl Sync for SetShowPaintRectsParams
impl Unpin for SetShowPaintRectsParams
impl UnwindSafe for SetShowPaintRectsParams
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