pub struct UiBrowserRequestBypassRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub reason: String,
pub minutes: Option<u64>,
pub powers: Option<Vec<String>>,
}Expand description
POST /api/v1/ui/browser/request_bypass — backs Browser’s request_bypass
(SPEC_BROWSER_PANE_BYPASS_2026_10_16.md §6): ask the user, in the pane, to
let the agent act without asking first, and wait for their answer.
Fields§
§auth: UiAutomationAuth§pane: Option<String>§reason: StringWhat the agent needs it for, e.g. “Delete 75 old drafts”.
minutes: Option<u64>How long, in minutes: 15, 60 (default) or 240; other values round down.
powers: Option<Vec<String>>What it needs besides committing clicks, which every grant has:
"terminal" (run commands in a web terminal). None: just clicks.
Trait Implementations§
Source§impl Clone for UiBrowserRequestBypassRequest
impl Clone for UiBrowserRequestBypassRequest
Source§fn clone(&self) -> UiBrowserRequestBypassRequest
fn clone(&self) -> UiBrowserRequestBypassRequest
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<'de> Deserialize<'de> for UiBrowserRequestBypassRequest
impl<'de> Deserialize<'de> for UiBrowserRequestBypassRequest
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 UiBrowserRequestBypassRequest
impl RefUnwindSafe for UiBrowserRequestBypassRequest
impl Send for UiBrowserRequestBypassRequest
impl Sync for UiBrowserRequestBypassRequest
impl Unpin for UiBrowserRequestBypassRequest
impl UnsafeUnpin for UiBrowserRequestBypassRequest
impl UnwindSafe for UiBrowserRequestBypassRequest
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