pub struct InputDispatchKeyEventParams {
pub event_type: String,
pub key: String,
pub code: String,
pub text: Option<String>,
pub unmodified_text: Option<String>,
pub windows_virtual_key_code: i64,
pub native_virtual_key_code: i64,
}Expand description
Typed params for Input.dispatchKeyEvent.
Fields§
§event_type: StringEvent type.
key: StringKey value.
code: StringCode value.
text: Option<String>Text payload, when present.
unmodified_text: Option<String>Unmodified text payload, when present.
windows_virtual_key_code: i64Windows virtual key code.
native_virtual_key_code: i64Native virtual key code.
Trait Implementations§
Source§impl Clone for InputDispatchKeyEventParams
impl Clone for InputDispatchKeyEventParams
Source§fn clone(&self) -> InputDispatchKeyEventParams
fn clone(&self) -> InputDispatchKeyEventParams
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 Command for InputDispatchKeyEventParams
impl Command for InputDispatchKeyEventParams
Source§type Params = InputDispatchKeyEventParams
type Params = InputDispatchKeyEventParams
Command parameters.
Source§impl Debug for InputDispatchKeyEventParams
impl Debug for InputDispatchKeyEventParams
Source§impl<'de> Deserialize<'de> for InputDispatchKeyEventParams
impl<'de> Deserialize<'de> for InputDispatchKeyEventParams
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
impl Eq for InputDispatchKeyEventParams
impl StructuralPartialEq for InputDispatchKeyEventParams
Auto Trait Implementations§
impl Freeze for InputDispatchKeyEventParams
impl RefUnwindSafe for InputDispatchKeyEventParams
impl Send for InputDispatchKeyEventParams
impl Sync for InputDispatchKeyEventParams
impl Unpin for InputDispatchKeyEventParams
impl UnsafeUnpin for InputDispatchKeyEventParams
impl UnwindSafe for InputDispatchKeyEventParams
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