pub struct GetTargetInfo {
pub method: GetTargetInfoMethod,
pub params: GetTargetInfoParams,
}Expand description
Returns information about a target. getTargetInfo
Fields§
§method: GetTargetInfoMethod§params: GetTargetInfoParamsImplementations§
Source§impl GetTargetInfo
impl GetTargetInfo
pub fn builder() -> GetTargetInfoBuilder
Source§impl GetTargetInfo
impl GetTargetInfo
pub const IDENTIFIER: &'static str = "Target.getTargetInfo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetTargetInfo
impl Clone for GetTargetInfo
Source§fn clone(&self) -> GetTargetInfo
fn clone(&self) -> GetTargetInfo
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 GetTargetInfo
impl CommandResult for GetTargetInfo
type Result = GetTargetInfoResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetTargetInfo
impl Debug for GetTargetInfo
Source§impl<'de> Deserialize<'de> for GetTargetInfo
impl<'de> Deserialize<'de> for GetTargetInfo
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<GetTargetInfo> for BrowserProtocolCommands
impl From<GetTargetInfo> for BrowserProtocolCommands
Source§fn from(v: GetTargetInfo) -> Self
fn from(v: GetTargetInfo) -> Self
Converts to this type from the input type.
Source§impl From<GetTargetInfo> for Command
impl From<GetTargetInfo> for Command
Source§fn from(v: GetTargetInfo) -> Self
fn from(v: GetTargetInfo) -> Self
Converts to this type from the input type.
Source§impl From<GetTargetInfo> for TargetCommands
impl From<GetTargetInfo> for TargetCommands
Source§fn from(v: GetTargetInfo) -> Self
fn from(v: GetTargetInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetTargetInfo
impl PartialEq for GetTargetInfo
Source§impl Serialize for GetTargetInfo
impl Serialize for GetTargetInfo
Source§impl TryFrom<BrowserProtocolCommands> for GetTargetInfo
impl TryFrom<BrowserProtocolCommands> for GetTargetInfo
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, <GetTargetInfo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetTargetInfo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetTargetInfo
impl TryFrom<Command> for GetTargetInfo
Source§impl TryFrom<TargetCommands> for GetTargetInfo
impl TryFrom<TargetCommands> for GetTargetInfo
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, <GetTargetInfo as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <GetTargetInfo as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetTargetInfo
Auto Trait Implementations§
impl Freeze for GetTargetInfo
impl RefUnwindSafe for GetTargetInfo
impl Send for GetTargetInfo
impl Sync for GetTargetInfo
impl Unpin for GetTargetInfo
impl UnsafeUnpin for GetTargetInfo
impl UnwindSafe for GetTargetInfo
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