pub struct DisposeBrowserContextParams {
pub browser_context_id: BrowserContextId,
}Expand description
Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks. disposeBrowserContext
Fields§
§browser_context_id: BrowserContextIdImplementations§
Source§impl DisposeBrowserContextParams
impl DisposeBrowserContextParams
pub fn new(browser_context_id: impl Into<BrowserContextId>) -> Self
Trait Implementations§
Source§impl Clone for DisposeBrowserContextParams
impl Clone for DisposeBrowserContextParams
Source§fn clone(&self) -> DisposeBrowserContextParams
fn clone(&self) -> DisposeBrowserContextParams
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 DisposeBrowserContextParams
impl Debug for DisposeBrowserContextParams
Source§impl<'de> Deserialize<'de> for DisposeBrowserContextParams
impl<'de> Deserialize<'de> for DisposeBrowserContextParams
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
impl StructuralPartialEq for DisposeBrowserContextParams
Auto Trait Implementations§
impl Freeze for DisposeBrowserContextParams
impl RefUnwindSafe for DisposeBrowserContextParams
impl Send for DisposeBrowserContextParams
impl Sync for DisposeBrowserContextParams
impl Unpin for DisposeBrowserContextParams
impl UnsafeUnpin for DisposeBrowserContextParams
impl UnwindSafe for DisposeBrowserContextParams
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