pub struct AutoAttachRelatedParams {
pub targetId: TargetID,
pub waitForDebuggerOnStart: 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.
Fields§
§targetId: TargetID§waitForDebuggerOnStart: 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.
Trait Implementations§
Source§impl Clone for AutoAttachRelatedParams
impl Clone for AutoAttachRelatedParams
Source§fn clone(&self) -> AutoAttachRelatedParams
fn clone(&self) -> AutoAttachRelatedParams
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 Debug for AutoAttachRelatedParams
impl Debug for AutoAttachRelatedParams
Source§impl Default for AutoAttachRelatedParams
impl Default for AutoAttachRelatedParams
Source§fn default() -> AutoAttachRelatedParams
fn default() -> AutoAttachRelatedParams
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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