Struct cdp::target::SetAutoAttachCommand
[−]
[src]
pub struct SetAutoAttachCommand { pub auto_attach: bool, pub wait_for_debugger_on_start: bool, }
[Experimental] Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.
Command Target.setAutoAttach
Domain Module: cdp::target
Command Struct: cdp::target::SetAutoAttachCommand
Response Struct: cdp::target::SetAutoAttachResponse
Fields
auto_attach: bool
Whether to auto-attach to related targets.
wait_for_debugger_on_start: bool
Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets.
Trait Implementations
impl Clone for SetAutoAttachCommand
[src]
fn clone(&self) -> SetAutoAttachCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SetAutoAttachCommand
[src]
impl PartialEq for SetAutoAttachCommand
[src]
fn eq(&self, __arg_0: &SetAutoAttachCommand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetAutoAttachCommand) -> bool
[src]
This method tests for !=
.
impl CdpCommand for SetAutoAttachCommand
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Target.setAutoAttach"
impl SerializeCdpCommand for SetAutoAttachCommand
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de> DeserializeCdpCommand<'de> for SetAutoAttachCommand
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,