pub struct UiBrowserTakeControlRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub allowed_origins: Option<Vec<String>>,
}Expand description
POST /api/v1/ui/browser/take_control — backs Browser’s take_control: the agent drives a browser pane it did not open
(found with Pane layout). pane is required. allowed_origins limits it to those sites, as open does; without it the
pane is limited to the site it is on.
Fields§
§auth: UiAutomationAuth§pane: Option<String>§allowed_origins: Option<Vec<String>>Trait Implementations§
Source§impl Clone for UiBrowserTakeControlRequest
impl Clone for UiBrowserTakeControlRequest
Source§fn clone(&self) -> UiBrowserTakeControlRequest
fn clone(&self) -> UiBrowserTakeControlRequest
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 UiBrowserTakeControlRequest
impl Debug for UiBrowserTakeControlRequest
Source§impl<'de> Deserialize<'de> for UiBrowserTakeControlRequest
impl<'de> Deserialize<'de> for UiBrowserTakeControlRequest
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 UiBrowserTakeControlRequest
impl RefUnwindSafe for UiBrowserTakeControlRequest
impl Send for UiBrowserTakeControlRequest
impl Sync for UiBrowserTakeControlRequest
impl Unpin for UiBrowserTakeControlRequest
impl UnsafeUnpin for UiBrowserTakeControlRequest
impl UnwindSafe for UiBrowserTakeControlRequest
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