pub struct DisposeBrowserContext {
pub method: DisposeBrowserContextMethod,
pub params: DisposeBrowserContextParams,
}Expand description
Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks. disposeBrowserContext
Fields§
§method: DisposeBrowserContextMethod§params: DisposeBrowserContextParamsImplementations§
Source§impl DisposeBrowserContext
impl DisposeBrowserContext
pub fn builder() -> DisposeBrowserContextBuilder
Source§impl DisposeBrowserContext
impl DisposeBrowserContext
pub const IDENTIFIER: &'static str = "Target.disposeBrowserContext"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DisposeBrowserContext
impl Clone for DisposeBrowserContext
Source§fn clone(&self) -> DisposeBrowserContext
fn clone(&self) -> DisposeBrowserContext
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 CommandResult for DisposeBrowserContext
impl CommandResult for DisposeBrowserContext
type Result = DisposeBrowserContextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for DisposeBrowserContext
impl Debug for DisposeBrowserContext
Source§impl<'de> Deserialize<'de> for DisposeBrowserContext
impl<'de> Deserialize<'de> for DisposeBrowserContext
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
Source§impl From<DisposeBrowserContext> for BrowserProtocolCommands
impl From<DisposeBrowserContext> for BrowserProtocolCommands
Source§fn from(v: DisposeBrowserContext) -> Self
fn from(v: DisposeBrowserContext) -> Self
Converts to this type from the input type.
Source§impl From<DisposeBrowserContext> for Command
impl From<DisposeBrowserContext> for Command
Source§fn from(v: DisposeBrowserContext) -> Self
fn from(v: DisposeBrowserContext) -> Self
Converts to this type from the input type.
Source§impl From<DisposeBrowserContext> for TargetCommands
impl From<DisposeBrowserContext> for TargetCommands
Source§fn from(v: DisposeBrowserContext) -> Self
fn from(v: DisposeBrowserContext) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisposeBrowserContext
impl PartialEq for DisposeBrowserContext
Source§impl Serialize for DisposeBrowserContext
impl Serialize for DisposeBrowserContext
Source§impl TryFrom<BrowserProtocolCommands> for DisposeBrowserContext
impl TryFrom<BrowserProtocolCommands> for DisposeBrowserContext
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <DisposeBrowserContext as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <DisposeBrowserContext as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for DisposeBrowserContext
impl TryFrom<Command> for DisposeBrowserContext
Source§impl TryFrom<TargetCommands> for DisposeBrowserContext
impl TryFrom<TargetCommands> for DisposeBrowserContext
Source§type Error = TargetCommands
type Error = TargetCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: TargetCommands,
) -> Result<Self, <DisposeBrowserContext as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <DisposeBrowserContext as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for DisposeBrowserContext
Auto Trait Implementations§
impl Freeze for DisposeBrowserContext
impl RefUnwindSafe for DisposeBrowserContext
impl Send for DisposeBrowserContext
impl Sync for DisposeBrowserContext
impl Unpin for DisposeBrowserContext
impl UnsafeUnpin for DisposeBrowserContext
impl UnwindSafe for DisposeBrowserContext
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