pub struct DispatchMouseEvent {
pub method: DispatchMouseEventMethod,
pub params: DispatchMouseEventParams,
}Expand description
Dispatches a mouse event to the page. dispatchMouseEvent
Fields§
§method: DispatchMouseEventMethod§params: DispatchMouseEventParamsImplementations§
Source§impl DispatchMouseEvent
impl DispatchMouseEvent
pub fn builder() -> DispatchMouseEventBuilder
Source§impl DispatchMouseEvent
impl DispatchMouseEvent
pub const IDENTIFIER: &'static str = "Input.dispatchMouseEvent"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DispatchMouseEvent
impl Clone for DispatchMouseEvent
Source§fn clone(&self) -> DispatchMouseEvent
fn clone(&self) -> DispatchMouseEvent
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 CommandResult for DispatchMouseEvent
impl CommandResult for DispatchMouseEvent
type Result = DispatchMouseEventResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for DispatchMouseEvent
impl Debug for DispatchMouseEvent
Source§impl<'de> Deserialize<'de> for DispatchMouseEvent
impl<'de> Deserialize<'de> for DispatchMouseEvent
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 From<DispatchMouseEvent> for BrowserProtocolCommands
impl From<DispatchMouseEvent> for BrowserProtocolCommands
Source§fn from(v: DispatchMouseEvent) -> Self
fn from(v: DispatchMouseEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchMouseEvent> for Command
impl From<DispatchMouseEvent> for Command
Source§fn from(v: DispatchMouseEvent) -> Self
fn from(v: DispatchMouseEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchMouseEvent> for InputCommands
impl From<DispatchMouseEvent> for InputCommands
Source§fn from(v: DispatchMouseEvent) -> Self
fn from(v: DispatchMouseEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DispatchMouseEvent
impl PartialEq for DispatchMouseEvent
Source§impl Serialize for DispatchMouseEvent
impl Serialize for DispatchMouseEvent
Source§impl TryFrom<BrowserProtocolCommands> for DispatchMouseEvent
impl TryFrom<BrowserProtocolCommands> for DispatchMouseEvent
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <DispatchMouseEvent as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <DispatchMouseEvent as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for DispatchMouseEvent
impl TryFrom<Command> for DispatchMouseEvent
Source§impl TryFrom<InputCommands> for DispatchMouseEvent
impl TryFrom<InputCommands> for DispatchMouseEvent
Source§type Error = InputCommands
type Error = InputCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputCommands,
) -> Result<Self, <DispatchMouseEvent as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <DispatchMouseEvent as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for DispatchMouseEvent
Auto Trait Implementations§
impl Freeze for DispatchMouseEvent
impl RefUnwindSafe for DispatchMouseEvent
impl Send for DispatchMouseEvent
impl Sync for DispatchMouseEvent
impl Unpin for DispatchMouseEvent
impl UnsafeUnpin for DispatchMouseEvent
impl UnwindSafe for DispatchMouseEvent
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