pub struct GetWindowForTargetParams {
pub target_id: Option<TargetId>,
}Expand description
Get the browser window that contains the devtools target.
Experimental: may change without notice.
Parameters of Browser.getWindowForTarget.
Fields§
§target_id: Option<TargetId>Devtools agent host id. If called as a part of the session, associated targetId is used.
Trait Implementations§
Source§impl Clone for GetWindowForTargetParams
impl Clone for GetWindowForTargetParams
Source§impl Command for GetWindowForTargetParams
impl Command for GetWindowForTargetParams
Source§impl Debug for GetWindowForTargetParams
impl Debug for GetWindowForTargetParams
Source§impl Default for GetWindowForTargetParams
impl Default for GetWindowForTargetParams
Source§impl<'de> Deserialize<'de> for GetWindowForTargetParams
impl<'de> Deserialize<'de> for GetWindowForTargetParams
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 PartialEq for GetWindowForTargetParams
impl PartialEq for GetWindowForTargetParams
Source§impl Serialize for GetWindowForTargetParams
impl Serialize for GetWindowForTargetParams
impl StructuralPartialEq for GetWindowForTargetParams
Auto Trait Implementations§
impl Forget for GetWindowForTargetParams
impl Freeze for GetWindowForTargetParams
impl RefUnwindSafe for GetWindowForTargetParams
impl Send for GetWindowForTargetParams
impl Sync for GetWindowForTargetParams
impl Unpin for GetWindowForTargetParams
impl UnsafeUnpin for GetWindowForTargetParams
impl UnwindSafe for GetWindowForTargetParams
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