pub struct CreateBrowserContextCommand { /* private fields */ }Available on crate features
Target and experimental only.Expand description
Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
Implementations§
Source§impl CreateBrowserContextCommand
impl CreateBrowserContextCommand
pub fn new( dispose_on_detach: Option<bool>, proxy_server: Option<String>, proxy_bypass_list: Option<String>, ) -> Self
Sourcepub fn dispose_on_detach(&self) -> Option<&bool>
pub fn dispose_on_detach(&self) -> Option<&bool>
If specified, disposes this context when debugging session disconnects.
Sourcepub fn proxy_server(&self) -> Option<&String>
pub fn proxy_server(&self) -> Option<&String>
Proxy server, similar to the one passed to –proxy-server
Sourcepub fn proxy_bypass_list(&self) -> Option<&String>
pub fn proxy_bypass_list(&self) -> Option<&String>
Proxy bypass list, similar to the one passed to –proxy-bypass-list
Trait Implementations§
Source§impl Clone for CreateBrowserContextCommand
impl Clone for CreateBrowserContextCommand
Source§fn clone(&self) -> CreateBrowserContextCommand
fn clone(&self) -> CreateBrowserContextCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateBrowserContextCommand
impl Debug for CreateBrowserContextCommand
Source§impl<'de> Deserialize<'de> for CreateBrowserContextCommand
impl<'de> Deserialize<'de> for CreateBrowserContextCommand
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 CreateBrowserContextCommand
impl RefUnwindSafe for CreateBrowserContextCommand
impl Send for CreateBrowserContextCommand
impl Sync for CreateBrowserContextCommand
impl Unpin for CreateBrowserContextCommand
impl UnwindSafe for CreateBrowserContextCommand
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