pub enum Request {
Diagnostics,
Capabilities,
Click {
role: Option<String>,
name: Option<String>,
text: Option<String>,
button: Option<String>,
},
PointerClick {
x: u32,
y: u32,
},
Resolution,
Screenshot {
path: String,
},
UiTree {
max_elements: usize,
max_depth: usize,
},
PointerMove {
x: u32,
y: u32,
},
PointerButton {
state: InputState,
},
Key {
key: String,
state: InputState,
},
PressKey {
key: String,
},
Text {
text: String,
},
}Variants§
Diagnostics
Capabilities
Click
Match a unique visible control, then hit-test and queue one complete click.
Fields
Exact virtual button label within a matrix or keyboard.
PointerClick
Resolution
Screenshot
UiTree
PointerMove
PointerButton
Fields
§
state: InputStateKey
PressKey
Atomically queue a key press followed by release.
Text
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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