pub struct GetTargets {
pub method: GetTargetsMethod,
pub params: GetTargetsParams,
}Expand description
Retrieves a list of available targets. getTargets
Fields§
§method: GetTargetsMethod§params: GetTargetsParamsImplementations§
Source§impl GetTargets
impl GetTargets
pub fn builder() -> GetTargetsBuilder
Source§impl GetTargets
impl GetTargets
pub const IDENTIFIER: &'static str = "Target.getTargets"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetTargets
impl Clone for GetTargets
Source§fn clone(&self) -> GetTargets
fn clone(&self) -> GetTargets
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 GetTargets
impl CommandResult for GetTargets
type Result = GetTargetsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetTargets
impl Debug for GetTargets
Source§impl<'de> Deserialize<'de> for GetTargets
impl<'de> Deserialize<'de> for GetTargets
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<GetTargets> for BrowserProtocolCommands
impl From<GetTargets> for BrowserProtocolCommands
Source§fn from(v: GetTargets) -> Self
fn from(v: GetTargets) -> Self
Converts to this type from the input type.
Source§impl From<GetTargets> for Command
impl From<GetTargets> for Command
Source§fn from(v: GetTargets) -> Self
fn from(v: GetTargets) -> Self
Converts to this type from the input type.
Source§impl From<GetTargets> for TargetCommands
impl From<GetTargets> for TargetCommands
Source§fn from(v: GetTargets) -> Self
fn from(v: GetTargets) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetTargets
impl PartialEq for GetTargets
Source§impl Serialize for GetTargets
impl Serialize for GetTargets
Source§impl TryFrom<BrowserProtocolCommands> for GetTargets
impl TryFrom<BrowserProtocolCommands> for GetTargets
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, <GetTargets as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetTargets as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetTargets
impl TryFrom<Command> for GetTargets
Source§impl TryFrom<TargetCommands> for GetTargets
impl TryFrom<TargetCommands> for GetTargets
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, <GetTargets as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <GetTargets as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetTargets
Auto Trait Implementations§
impl Freeze for GetTargets
impl RefUnwindSafe for GetTargets
impl Send for GetTargets
impl Sync for GetTargets
impl Unpin for GetTargets
impl UnsafeUnpin for GetTargets
impl UnwindSafe for GetTargets
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