Struct cdp::emulation::SetEmitTouchEventsForMouseCommand
[−]
[src]
pub struct SetEmitTouchEventsForMouseCommand { pub enabled: bool, pub configuration: Option<SetEmitTouchEventsForMouseCommandConfiguration>, }
[Experimental]
Command Emulation.setEmitTouchEventsForMouse
Domain Module: cdp::emulation
Command Struct: cdp::emulation::SetEmitTouchEventsForMouseCommand
Response Struct: cdp::emulation::SetEmitTouchEventsForMouseResponse
Fields
enabled: bool
Whether touch emulation based on mouse input should be enabled.
configuration: Option<SetEmitTouchEventsForMouseCommandConfiguration>
Touch/gesture events configuration. Default: current platform.
Trait Implementations
impl Clone for SetEmitTouchEventsForMouseCommand
[src]
fn clone(&self) -> SetEmitTouchEventsForMouseCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SetEmitTouchEventsForMouseCommand
[src]
impl PartialEq for SetEmitTouchEventsForMouseCommand
[src]
fn eq(&self, __arg_0: &SetEmitTouchEventsForMouseCommand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetEmitTouchEventsForMouseCommand) -> bool
[src]
This method tests for !=
.
impl CdpCommand for SetEmitTouchEventsForMouseCommand
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Emulation.setEmitTouchEventsForMouse"
impl SerializeCdpCommand for SetEmitTouchEventsForMouseCommand
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de> DeserializeCdpCommand<'de> for SetEmitTouchEventsForMouseCommand
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,