pub struct SetDiscoverTargets {
pub method: SetDiscoverTargetsMethod,
pub params: SetDiscoverTargetsParams,
}Expand description
Controls whether to discover available targets and notify via
targetCreated/targetInfoChanged/targetDestroyed events.
setDiscoverTargets
Fields§
§method: SetDiscoverTargetsMethod§params: SetDiscoverTargetsParamsImplementations§
Source§impl SetDiscoverTargets
impl SetDiscoverTargets
pub fn builder() -> SetDiscoverTargetsBuilder
Source§impl SetDiscoverTargets
impl SetDiscoverTargets
pub const IDENTIFIER: &'static str = "Target.setDiscoverTargets"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetDiscoverTargets
impl Clone for SetDiscoverTargets
Source§fn clone(&self) -> SetDiscoverTargets
fn clone(&self) -> SetDiscoverTargets
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 SetDiscoverTargets
impl CommandResult for SetDiscoverTargets
type Result = SetDiscoverTargetsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetDiscoverTargets
impl Debug for SetDiscoverTargets
Source§impl<'de> Deserialize<'de> for SetDiscoverTargets
impl<'de> Deserialize<'de> for SetDiscoverTargets
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<SetDiscoverTargets> for BrowserProtocolCommands
impl From<SetDiscoverTargets> for BrowserProtocolCommands
Source§fn from(v: SetDiscoverTargets) -> Self
fn from(v: SetDiscoverTargets) -> Self
Converts to this type from the input type.
Source§impl From<SetDiscoverTargets> for Command
impl From<SetDiscoverTargets> for Command
Source§fn from(v: SetDiscoverTargets) -> Self
fn from(v: SetDiscoverTargets) -> Self
Converts to this type from the input type.
Source§impl From<SetDiscoverTargets> for TargetCommands
impl From<SetDiscoverTargets> for TargetCommands
Source§fn from(v: SetDiscoverTargets) -> Self
fn from(v: SetDiscoverTargets) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetDiscoverTargets
impl PartialEq for SetDiscoverTargets
Source§impl Serialize for SetDiscoverTargets
impl Serialize for SetDiscoverTargets
Source§impl TryFrom<BrowserProtocolCommands> for SetDiscoverTargets
impl TryFrom<BrowserProtocolCommands> for SetDiscoverTargets
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, <SetDiscoverTargets as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetDiscoverTargets as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetDiscoverTargets
impl TryFrom<Command> for SetDiscoverTargets
Source§impl TryFrom<TargetCommands> for SetDiscoverTargets
impl TryFrom<TargetCommands> for SetDiscoverTargets
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, <SetDiscoverTargets as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <SetDiscoverTargets as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetDiscoverTargets
Auto Trait Implementations§
impl Freeze for SetDiscoverTargets
impl RefUnwindSafe for SetDiscoverTargets
impl Send for SetDiscoverTargets
impl Sync for SetDiscoverTargets
impl Unpin for SetDiscoverTargets
impl UnsafeUnpin for SetDiscoverTargets
impl UnwindSafe for SetDiscoverTargets
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