//! Key definition type for keyboard input.
/// Key definition with all required properties for CDP.
#[derive(Debug, Clone)]pubstructKeyDefinition{/// The key code (e.g., "`KeyA`", "Enter").
pubcode:&'staticstr,
/// The key value (e.g., "a", "Enter").
pubkey:&'staticstr,
/// Windows virtual key code.
pubkey_code:i32,
/// The text generated by this key (if any).
pubtext:Option<&'staticstr>,
/// Whether this key is on the keypad.
pubis_keypad:bool,
/// The location of the key (0 = standard, 1 = left, 2 = right, 3 = numpad).
publocation:i32,
}