Struct chromiumoxide_cdp::cdp::browser_protocol::target::SetAutoAttachParams [−][src]
pub struct SetAutoAttachParams { pub auto_attach: bool, pub wait_for_debugger_on_start: bool, pub flatten: Option<bool>, }
Expand description
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. setAutoAttach
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.
flatten: Option<bool>
Enables “flat” access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.
Implementations
Trait Implementations
type Response = SetAutoAttachReturns
type Response = SetAutoAttachReturns
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetAutoAttachParams
impl Send for SetAutoAttachParams
impl Sync for SetAutoAttachParams
impl Unpin for SetAutoAttachParams
impl UnwindSafe for SetAutoAttachParams
Blanket Implementations
Mutably borrows from an owned value. Read more