pub struct AutoAttachRelatedParams {
pub target_id: TargetId,
pub wait_for_debugger_on_start: bool,
pub filter: Option<TargetFilter>,
}Expand description
Adds the specified target to the list of targets that will be monitored
for any related target creation (such as child frames, child workers and
new versions of service worker) and reported through attachedToTarget.
The specified target is also auto-attached. This cancels the effect of any
previous setAutoAttach and is also cancelled by subsequent
setAutoAttach. Only available at the Browser target.
Experimental: may change without notice.
Parameters of Target.autoAttachRelated.
Fields§
§target_id: TargetId§wait_for_debugger_on_start: boolWhether to pause new targets when attaching to them. Use
Runtime.runIfWaitingForDebugger to run paused targets.
filter: Option<TargetFilter>Only targets matching filter will be attached.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for AutoAttachRelatedParams
impl Clone for AutoAttachRelatedParams
Source§impl Command for AutoAttachRelatedParams
impl Command for AutoAttachRelatedParams
Source§impl Debug for AutoAttachRelatedParams
impl Debug for AutoAttachRelatedParams
Source§impl Default for AutoAttachRelatedParams
impl Default for AutoAttachRelatedParams
Source§impl<'de> Deserialize<'de> for AutoAttachRelatedParams
impl<'de> Deserialize<'de> for AutoAttachRelatedParams
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 PartialEq for AutoAttachRelatedParams
impl PartialEq for AutoAttachRelatedParams
Source§impl Serialize for AutoAttachRelatedParams
impl Serialize for AutoAttachRelatedParams
impl StructuralPartialEq for AutoAttachRelatedParams
Auto Trait Implementations§
impl Forget for AutoAttachRelatedParams
impl Freeze for AutoAttachRelatedParams
impl RefUnwindSafe for AutoAttachRelatedParams
impl Send for AutoAttachRelatedParams
impl Sync for AutoAttachRelatedParams
impl Unpin for AutoAttachRelatedParams
impl UnsafeUnpin for AutoAttachRelatedParams
impl UnwindSafe for AutoAttachRelatedParams
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