Struct chrome_remote_interface_model::target::CreateBrowserContextCommand[][src]

pub struct CreateBrowserContextCommand { /* fields omitted */ }

Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.

Implementations

impl CreateBrowserContextCommand[src]

pub fn new(
    dispose_on_detach: Option<bool>,
    proxy_server: Option<String>,
    proxy_bypass_list: Option<String>
) -> Self
[src]

pub fn dispose_on_detach(&self) -> Option<&bool>[src]

If specified, disposes this context when debugging session disconnects.

pub fn proxy_server(&self) -> Option<&String>[src]

Proxy server, similar to the one passed to --proxy-server

pub fn proxy_bypass_list(&self) -> Option<&String>[src]

Proxy bypass list, similar to the one passed to --proxy-bypass-list

Trait Implementations

impl Clone for CreateBrowserContextCommand[src]

impl Command for CreateBrowserContextCommand[src]

type Return = CreateBrowserContextReturn

Return type.

impl Debug for CreateBrowserContextCommand[src]

impl<'de> Deserialize<'de> for CreateBrowserContextCommand[src]

impl Serialize for CreateBrowserContextCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.