pub struct UiBrowserDispatchKeyRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub selector: Option<String>,
pub text: Option<String>,
pub key: Option<String>,
}Expand description
POST /api/v1/ui/browser/dispatch_key
Fields§
§auth: UiAutomationAuth§pane: Option<String>Target a browser pane this agent opened with OpenBrowser
(SPEC_AGENT_DRIVEN_BROWSER_PANES_2026_10_07.md §3). srv checks it
against its owner map; absent = the caller’s own pane, as before.
selector: Option<String>Optional CSS selector: focus this element before dispatching.
text: Option<String>Exactly one of text/key must be set. Sent via Input.insertText.
key: Option<String>Named key (Enter, Tab, Escape, Backspace, arrow keys,
Space) sent as a keyDown+keyUp pair.
Trait Implementations§
Source§impl Clone for UiBrowserDispatchKeyRequest
impl Clone for UiBrowserDispatchKeyRequest
Source§fn clone(&self) -> UiBrowserDispatchKeyRequest
fn clone(&self) -> UiBrowserDispatchKeyRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UiBrowserDispatchKeyRequest
impl Debug for UiBrowserDispatchKeyRequest
Source§impl<'de> Deserialize<'de> for UiBrowserDispatchKeyRequest
impl<'de> Deserialize<'de> for UiBrowserDispatchKeyRequest
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
Auto Trait Implementations§
impl Freeze for UiBrowserDispatchKeyRequest
impl RefUnwindSafe for UiBrowserDispatchKeyRequest
impl Send for UiBrowserDispatchKeyRequest
impl Sync for UiBrowserDispatchKeyRequest
impl Unpin for UiBrowserDispatchKeyRequest
impl UnsafeUnpin for UiBrowserDispatchKeyRequest
impl UnwindSafe for UiBrowserDispatchKeyRequest
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