pub struct GetWindowForTarget {
pub method: GetWindowForTargetMethod,
pub params: GetWindowForTargetParams,
}Expand description
Get the browser window that contains the devtools target. getWindowForTarget
Fields§
§method: GetWindowForTargetMethod§params: GetWindowForTargetParamsImplementations§
Source§impl GetWindowForTarget
impl GetWindowForTarget
pub fn builder() -> GetWindowForTargetBuilder
Source§impl GetWindowForTarget
impl GetWindowForTarget
pub const IDENTIFIER: &'static str = "Browser.getWindowForTarget"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetWindowForTarget
impl Clone for GetWindowForTarget
Source§fn clone(&self) -> GetWindowForTarget
fn clone(&self) -> GetWindowForTarget
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 GetWindowForTarget
impl CommandResult for GetWindowForTarget
type Result = GetWindowForTargetResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetWindowForTarget
impl Debug for GetWindowForTarget
Source§impl<'de> Deserialize<'de> for GetWindowForTarget
impl<'de> Deserialize<'de> for GetWindowForTarget
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<GetWindowForTarget> for BrowserCommands
impl From<GetWindowForTarget> for BrowserCommands
Source§fn from(v: GetWindowForTarget) -> Self
fn from(v: GetWindowForTarget) -> Self
Converts to this type from the input type.
Source§impl From<GetWindowForTarget> for BrowserProtocolCommands
impl From<GetWindowForTarget> for BrowserProtocolCommands
Source§fn from(v: GetWindowForTarget) -> Self
fn from(v: GetWindowForTarget) -> Self
Converts to this type from the input type.
Source§impl From<GetWindowForTarget> for Command
impl From<GetWindowForTarget> for Command
Source§fn from(v: GetWindowForTarget) -> Self
fn from(v: GetWindowForTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetWindowForTarget
impl PartialEq for GetWindowForTarget
Source§impl Serialize for GetWindowForTarget
impl Serialize for GetWindowForTarget
Source§impl TryFrom<BrowserCommands> for GetWindowForTarget
impl TryFrom<BrowserCommands> for GetWindowForTarget
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetWindowForTarget as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetWindowForTarget as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for GetWindowForTarget
impl TryFrom<BrowserProtocolCommands> for GetWindowForTarget
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, <GetWindowForTarget as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetWindowForTarget as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetWindowForTarget
impl TryFrom<Command> for GetWindowForTarget
impl StructuralPartialEq for GetWindowForTarget
Auto Trait Implementations§
impl Freeze for GetWindowForTarget
impl RefUnwindSafe for GetWindowForTarget
impl Send for GetWindowForTarget
impl Sync for GetWindowForTarget
impl Unpin for GetWindowForTarget
impl UnsafeUnpin for GetWindowForTarget
impl UnwindSafe for GetWindowForTarget
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