pub struct GetDevToolsTargetParams {
pub target_id: TargetId,
}Expand description
Gets the targetId of the DevTools page target opened for the given target (if any). getDevToolsTarget
Fields§
§target_id: TargetIdPage or tab target ID.
Implementations§
Source§impl GetDevToolsTargetParams
impl GetDevToolsTargetParams
pub fn new(target_id: impl Into<TargetId>) -> GetDevToolsTargetParams
Source§impl GetDevToolsTargetParams
impl GetDevToolsTargetParams
pub const IDENTIFIER: &'static str = "Target.getDevToolsTarget"
Trait Implementations§
Source§impl Clone for GetDevToolsTargetParams
impl Clone for GetDevToolsTargetParams
Source§fn clone(&self) -> GetDevToolsTargetParams
fn clone(&self) -> GetDevToolsTargetParams
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 Command for GetDevToolsTargetParams
impl Command for GetDevToolsTargetParams
Source§impl Debug for GetDevToolsTargetParams
impl Debug for GetDevToolsTargetParams
Source§impl<'de> Deserialize<'de> for GetDevToolsTargetParams
impl<'de> Deserialize<'de> for GetDevToolsTargetParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetDevToolsTargetParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetDevToolsTargetParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetDevToolsTargetParams
impl Method for GetDevToolsTargetParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for GetDevToolsTargetParams
impl MethodType for GetDevToolsTargetParams
Source§impl PartialEq for GetDevToolsTargetParams
impl PartialEq for GetDevToolsTargetParams
Source§impl Serialize for GetDevToolsTargetParams
impl Serialize for GetDevToolsTargetParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetDevToolsTargetParams
Auto Trait Implementations§
impl Freeze for GetDevToolsTargetParams
impl RefUnwindSafe for GetDevToolsTargetParams
impl Send for GetDevToolsTargetParams
impl Sync for GetDevToolsTargetParams
impl Unpin for GetDevToolsTargetParams
impl UnsafeUnpin for GetDevToolsTargetParams
impl UnwindSafe for GetDevToolsTargetParams
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