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