Struct chrome_remote_interface_model::target::CreateBrowserContextCommand [−][src]
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]
dispose_on_detach: Option<bool>,
proxy_server: Option<String>,
proxy_bypass_list: Option<String>
) -> Self
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]
fn clone(&self) -> CreateBrowserContextCommand[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Command for CreateBrowserContextCommand[src]
type Return = CreateBrowserContextReturn
Return type.
const METHOD: &'static str[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized, [src]
Self: Sized,
impl Debug for CreateBrowserContextCommand[src]
impl<'de> Deserialize<'de> for CreateBrowserContextCommand[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for CreateBrowserContextCommand[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateBrowserContextCommand[src]
impl Send for CreateBrowserContextCommand[src]
impl Sync for CreateBrowserContextCommand[src]
impl Unpin for CreateBrowserContextCommand[src]
impl UnwindSafe for CreateBrowserContextCommand[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,