pub struct UiBrowserZoomRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub factor: Option<f64>,
pub width: Option<f64>,
pub fit: Option<bool>,
pub reset: Option<bool>,
}Expand description
POST /api/v1/ui/browser/zoom — zoom a browser pane the agent drives, or put it back
(docs/specs/SPEC_BROWSER_PANE_AGENT_ZOOM_2026_11_10.md). Exactly one of factor, width, fit and
reset.
Fields§
§auth: UiAutomationAuth§pane: Option<String>Target a browser pane this agent opened or took control of; absent = the caller’s own pane.
factor: Option<f64>0.25 to 2.0.
width: Option<f64>A desktop viewport this many CSS pixels wide, scaled to fit the pane.
fit: Option<bool>§reset: Option<bool>Trait Implementations§
Source§impl Clone for UiBrowserZoomRequest
impl Clone for UiBrowserZoomRequest
Source§fn clone(&self) -> UiBrowserZoomRequest
fn clone(&self) -> UiBrowserZoomRequest
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 UiBrowserZoomRequest
impl Debug for UiBrowserZoomRequest
Source§impl<'de> Deserialize<'de> for UiBrowserZoomRequest
impl<'de> Deserialize<'de> for UiBrowserZoomRequest
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 UiBrowserZoomRequest
impl RefUnwindSafe for UiBrowserZoomRequest
impl Send for UiBrowserZoomRequest
impl Sync for UiBrowserZoomRequest
impl Unpin for UiBrowserZoomRequest
impl UnsafeUnpin for UiBrowserZoomRequest
impl UnwindSafe for UiBrowserZoomRequest
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