Struct headless_chrome::protocol::cdp::Input::DispatchKeyEvent
source · pub struct DispatchKeyEvent {Show 15 fields
pub Type: DispatchKeyEventTypeOption,
pub modifiers: Option<JsUInt>,
pub timestamp: Option<TimeSinceEpoch>,
pub text: Option<String>,
pub unmodified_text: Option<String>,
pub key_identifier: Option<String>,
pub code: Option<String>,
pub key: Option<String>,
pub windows_virtual_key_code: Option<JsUInt>,
pub native_virtual_key_code: Option<JsUInt>,
pub auto_repeat: Option<bool>,
pub is_keypad: Option<bool>,
pub is_system_key: Option<bool>,
pub location: Option<JsUInt>,
pub commands: Option<Vec<String>>,
}Fields§
§Type: DispatchKeyEventTypeOption§modifiers: Option<JsUInt>§timestamp: Option<TimeSinceEpoch>§text: Option<String>§unmodified_text: Option<String>§key_identifier: Option<String>§code: Option<String>§key: Option<String>§windows_virtual_key_code: Option<JsUInt>§native_virtual_key_code: Option<JsUInt>§auto_repeat: Option<bool>§is_keypad: Option<bool>§is_system_key: Option<bool>§location: Option<JsUInt>§commands: Option<Vec<String>>Trait Implementations§
source§impl Clone for DispatchKeyEvent
impl Clone for DispatchKeyEvent
source§fn clone(&self) -> DispatchKeyEvent
fn clone(&self) -> DispatchKeyEvent
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 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