pub struct UiBrowserEvalRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub script: String,
pub await_promise: Option<bool>,
}Expand description
POST /api/v1/ui/browser/eval
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.
script: String§await_promise: Option<bool>If true and the script returns a Promise, wait for it to resolve before returning.
Trait Implementations§
Source§impl Clone for UiBrowserEvalRequest
impl Clone for UiBrowserEvalRequest
Source§fn clone(&self) -> UiBrowserEvalRequest
fn clone(&self) -> UiBrowserEvalRequest
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 UiBrowserEvalRequest
impl Debug for UiBrowserEvalRequest
Source§impl<'de> Deserialize<'de> for UiBrowserEvalRequest
impl<'de> Deserialize<'de> for UiBrowserEvalRequest
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 UiBrowserEvalRequest
impl RefUnwindSafe for UiBrowserEvalRequest
impl Send for UiBrowserEvalRequest
impl Sync for UiBrowserEvalRequest
impl Unpin for UiBrowserEvalRequest
impl UnsafeUnpin for UiBrowserEvalRequest
impl UnwindSafe for UiBrowserEvalRequest
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