pub struct GetDevToolsTarget {
pub method: GetDevToolsTargetMethod,
pub params: GetDevToolsTargetParams,
}Expand description
Gets the targetId of the DevTools page target opened for the given target (if any). getDevToolsTarget
Fields§
§method: GetDevToolsTargetMethod§params: GetDevToolsTargetParamsImplementations§
Source§impl GetDevToolsTarget
impl GetDevToolsTarget
pub fn builder() -> GetDevToolsTargetBuilder
Source§impl GetDevToolsTarget
impl GetDevToolsTarget
pub const IDENTIFIER: &'static str = "Target.getDevToolsTarget"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetDevToolsTarget
impl Clone for GetDevToolsTarget
Source§fn clone(&self) -> GetDevToolsTarget
fn clone(&self) -> GetDevToolsTarget
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 GetDevToolsTarget
impl CommandResult for GetDevToolsTarget
type Result = GetDevToolsTargetResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetDevToolsTarget
impl Debug for GetDevToolsTarget
Source§impl<'de> Deserialize<'de> for GetDevToolsTarget
impl<'de> Deserialize<'de> for GetDevToolsTarget
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<GetDevToolsTarget> for BrowserProtocolCommands
impl From<GetDevToolsTarget> for BrowserProtocolCommands
Source§fn from(v: GetDevToolsTarget) -> Self
fn from(v: GetDevToolsTarget) -> Self
Converts to this type from the input type.
Source§impl From<GetDevToolsTarget> for Command
impl From<GetDevToolsTarget> for Command
Source§fn from(v: GetDevToolsTarget) -> Self
fn from(v: GetDevToolsTarget) -> Self
Converts to this type from the input type.
Source§impl From<GetDevToolsTarget> for TargetCommands
impl From<GetDevToolsTarget> for TargetCommands
Source§fn from(v: GetDevToolsTarget) -> Self
fn from(v: GetDevToolsTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetDevToolsTarget
impl PartialEq for GetDevToolsTarget
Source§impl Serialize for GetDevToolsTarget
impl Serialize for GetDevToolsTarget
Source§impl TryFrom<BrowserProtocolCommands> for GetDevToolsTarget
impl TryFrom<BrowserProtocolCommands> for GetDevToolsTarget
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, <GetDevToolsTarget as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetDevToolsTarget as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetDevToolsTarget
impl TryFrom<Command> for GetDevToolsTarget
Source§impl TryFrom<TargetCommands> for GetDevToolsTarget
impl TryFrom<TargetCommands> for GetDevToolsTarget
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, <GetDevToolsTarget as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <GetDevToolsTarget as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetDevToolsTarget
Auto Trait Implementations§
impl Freeze for GetDevToolsTarget
impl RefUnwindSafe for GetDevToolsTarget
impl Send for GetDevToolsTarget
impl Sync for GetDevToolsTarget
impl Unpin for GetDevToolsTarget
impl UnsafeUnpin for GetDevToolsTarget
impl UnwindSafe for GetDevToolsTarget
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