pub struct AutoAttachRelatedParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> AutoAttachRelatedParams<'a>
impl<'a> AutoAttachRelatedParams<'a>
pub fn builder( targetId: TargetID<'a>, waitForDebuggerOnStart: bool, ) -> AutoAttachRelatedParamsBuilder<'a>
pub fn targetId(&self) -> &TargetID<'a>
pub fn waitForDebuggerOnStart(&self) -> bool
pub fn filter(&self) -> Option<&TargetFilter<'a>>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for AutoAttachRelatedParams<'a>
impl<'a> CdpCommand<'a> for AutoAttachRelatedParams<'a>
Source§impl<'a> Clone for AutoAttachRelatedParams<'a>
impl<'a> Clone for AutoAttachRelatedParams<'a>
Source§fn clone(&self) -> AutoAttachRelatedParams<'a>
fn clone(&self) -> AutoAttachRelatedParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AutoAttachRelatedParams<'a>
impl<'a> Debug for AutoAttachRelatedParams<'a>
Source§impl<'a> Default for AutoAttachRelatedParams<'a>
impl<'a> Default for AutoAttachRelatedParams<'a>
Source§fn default() -> AutoAttachRelatedParams<'a>
fn default() -> AutoAttachRelatedParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for AutoAttachRelatedParams<'a>
impl<'de, 'a> Deserialize<'de> for AutoAttachRelatedParams<'a>
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<'a> Freeze for AutoAttachRelatedParams<'a>
impl<'a> RefUnwindSafe for AutoAttachRelatedParams<'a>
impl<'a> Send for AutoAttachRelatedParams<'a>
impl<'a> Sync for AutoAttachRelatedParams<'a>
impl<'a> Unpin for AutoAttachRelatedParams<'a>
impl<'a> UnsafeUnpin for AutoAttachRelatedParams<'a>
impl<'a> UnwindSafe for AutoAttachRelatedParams<'a>
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