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