pub struct SetAutoAttachParams<'a> { /* private fields */ }Expand description
Controls whether to automatically attach to new targets which are considered to be directly related to this one (for example, iframes or workers). When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets. This also clears all targets added by ‘autoAttachRelated’ from the list of targets to watch for creation of related targets. You might want to call this recursively for auto-attached targets to attach to all available targets.
Implementations§
Source§impl<'a> SetAutoAttachParams<'a>
impl<'a> SetAutoAttachParams<'a>
pub fn builder( autoAttach: bool, waitForDebuggerOnStart: bool, ) -> SetAutoAttachParamsBuilder<'a>
pub fn autoAttach(&self) -> bool
pub fn waitForDebuggerOnStart(&self) -> bool
pub fn flatten(&self) -> Option<bool>
pub fn filter(&self) -> Option<&TargetFilter<'a>>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetAutoAttachParams<'a>
impl<'a> CdpCommand<'a> for SetAutoAttachParams<'a>
Source§impl<'a> Clone for SetAutoAttachParams<'a>
impl<'a> Clone for SetAutoAttachParams<'a>
Source§fn clone(&self) -> SetAutoAttachParams<'a>
fn clone(&self) -> SetAutoAttachParams<'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 SetAutoAttachParams<'a>
impl<'a> Debug for SetAutoAttachParams<'a>
Source§impl<'a> Default for SetAutoAttachParams<'a>
impl<'a> Default for SetAutoAttachParams<'a>
Source§fn default() -> SetAutoAttachParams<'a>
fn default() -> SetAutoAttachParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetAutoAttachParams<'a>
impl<'de, 'a> Deserialize<'de> for SetAutoAttachParams<'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 SetAutoAttachParams<'a>
impl<'a> RefUnwindSafe for SetAutoAttachParams<'a>
impl<'a> Send for SetAutoAttachParams<'a>
impl<'a> Sync for SetAutoAttachParams<'a>
impl<'a> Unpin for SetAutoAttachParams<'a>
impl<'a> UnsafeUnpin for SetAutoAttachParams<'a>
impl<'a> UnwindSafe for SetAutoAttachParams<'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