Struct chromiumoxide::cdp::browser_protocol::emulation::CanEmulateParams
source · pub struct CanEmulateParams {}
Expand description
Tells whether emulation is supported. canEmulate
Implementations§
source§impl CanEmulateParams
impl CanEmulateParams
pub const IDENTIFIER: &'static str = "Emulation.canEmulate"
Trait Implementations§
source§impl Clone for CanEmulateParams
impl Clone for CanEmulateParams
source§fn clone(&self) -> CanEmulateParams
fn clone(&self) -> CanEmulateParams
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 CanEmulateParams
impl Command for CanEmulateParams
§type Response = CanEmulateReturns
type Response = CanEmulateReturns
The type of the response this request triggers on the chromium server
source§impl Debug for CanEmulateParams
impl Debug for CanEmulateParams
source§impl Default for CanEmulateParams
impl Default for CanEmulateParams
source§fn default() -> CanEmulateParams
fn default() -> CanEmulateParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CanEmulateParams
impl<'de> Deserialize<'de> for CanEmulateParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CanEmulateParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CanEmulateParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for CanEmulateParams
impl Method for CanEmulateParams
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 CanEmulateParams
impl MethodType for CanEmulateParams
source§impl PartialEq for CanEmulateParams
impl PartialEq for CanEmulateParams
source§fn eq(&self, other: &CanEmulateParams) -> bool
fn eq(&self, other: &CanEmulateParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CanEmulateParams
impl Serialize for CanEmulateParams
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 CanEmulateParams
Auto Trait Implementations§
impl RefUnwindSafe for CanEmulateParams
impl Send for CanEmulateParams
impl Sync for CanEmulateParams
impl Unpin for CanEmulateParams
impl UnwindSafe for CanEmulateParams
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