pub struct GetBrowserContexts {
pub method: GetBrowserContextsMethod,
pub params: GetBrowserContextsParams,
}Expand description
Returns all browser contexts created with Target.createBrowserContext method.
getBrowserContexts
Fields§
§method: GetBrowserContextsMethod§params: GetBrowserContextsParamsImplementations§
Source§impl GetBrowserContexts
impl GetBrowserContexts
pub fn builder() -> GetBrowserContextsBuilder
Source§impl GetBrowserContexts
impl GetBrowserContexts
pub const IDENTIFIER: &'static str = "Target.getBrowserContexts"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetBrowserContexts
impl Clone for GetBrowserContexts
Source§fn clone(&self) -> GetBrowserContexts
fn clone(&self) -> GetBrowserContexts
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 GetBrowserContexts
impl CommandResult for GetBrowserContexts
type Result = GetBrowserContextsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetBrowserContexts
impl Debug for GetBrowserContexts
Source§impl<'de> Deserialize<'de> for GetBrowserContexts
impl<'de> Deserialize<'de> for GetBrowserContexts
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<GetBrowserContexts> for BrowserProtocolCommands
impl From<GetBrowserContexts> for BrowserProtocolCommands
Source§fn from(v: GetBrowserContexts) -> Self
fn from(v: GetBrowserContexts) -> Self
Converts to this type from the input type.
Source§impl From<GetBrowserContexts> for Command
impl From<GetBrowserContexts> for Command
Source§fn from(v: GetBrowserContexts) -> Self
fn from(v: GetBrowserContexts) -> Self
Converts to this type from the input type.
Source§impl From<GetBrowserContexts> for TargetCommands
impl From<GetBrowserContexts> for TargetCommands
Source§fn from(v: GetBrowserContexts) -> Self
fn from(v: GetBrowserContexts) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetBrowserContexts
impl PartialEq for GetBrowserContexts
Source§impl Serialize for GetBrowserContexts
impl Serialize for GetBrowserContexts
Source§impl TryFrom<BrowserProtocolCommands> for GetBrowserContexts
impl TryFrom<BrowserProtocolCommands> for GetBrowserContexts
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, <GetBrowserContexts as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetBrowserContexts as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetBrowserContexts
impl TryFrom<Command> for GetBrowserContexts
Source§impl TryFrom<TargetCommands> for GetBrowserContexts
impl TryFrom<TargetCommands> for GetBrowserContexts
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, <GetBrowserContexts as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <GetBrowserContexts as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetBrowserContexts
Auto Trait Implementations§
impl Freeze for GetBrowserContexts
impl RefUnwindSafe for GetBrowserContexts
impl Send for GetBrowserContexts
impl Sync for GetBrowserContexts
impl Unpin for GetBrowserContexts
impl UnsafeUnpin for GetBrowserContexts
impl UnwindSafe for GetBrowserContexts
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