pub struct SetAutoAttachParams {
pub auto_attach: bool,
pub wait_for_debugger_on_start: bool,
pub flatten: Option<bool>,
pub filter: Option<TargetFilter>,
}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.
This also clears all targets added by autoAttachRelated from the list of targets to watch
for creation of related targets.
setAutoAttach
Fields§
§auto_attach: boolWhether to auto-attach to related targets.
wait_for_debugger_on_start: boolWhether 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.
filter: Option<TargetFilter>Only targets matching filter will be attached.
Implementations§
Source§impl SetAutoAttachParams
impl SetAutoAttachParams
pub fn builder() -> SetAutoAttachParamsBuilder
Source§impl SetAutoAttachParams
impl SetAutoAttachParams
pub const IDENTIFIER: &'static str = "Target.setAutoAttach"
Trait Implementations§
Source§impl Clone for SetAutoAttachParams
impl Clone for SetAutoAttachParams
Source§fn clone(&self) -> SetAutoAttachParams
fn clone(&self) -> SetAutoAttachParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Command for SetAutoAttachParams
impl Command for SetAutoAttachParams
Source§impl Debug for SetAutoAttachParams
impl Debug for SetAutoAttachParams
Source§impl<'de> Deserialize<'de> for SetAutoAttachParams
impl<'de> Deserialize<'de> for SetAutoAttachParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetAutoAttachParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetAutoAttachParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Method for SetAutoAttachParams
impl Method for SetAutoAttachParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNodeSource§impl MethodType for SetAutoAttachParams
impl MethodType for SetAutoAttachParams
Source§impl PartialEq for SetAutoAttachParams
impl PartialEq for SetAutoAttachParams
Source§impl Serialize for SetAutoAttachParams
impl Serialize for SetAutoAttachParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for SetAutoAttachParams
Auto Trait Implementations§
impl Freeze for SetAutoAttachParams
impl RefUnwindSafe for SetAutoAttachParams
impl Send for SetAutoAttachParams
impl Sync for SetAutoAttachParams
impl Unpin for SetAutoAttachParams
impl UnwindSafe for SetAutoAttachParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more