pub struct AutoAttachRelated {
pub method: AutoAttachRelatedMethod,
pub params: AutoAttachRelatedParams,
}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.
autoAttachRelated
Fields§
§method: AutoAttachRelatedMethod§params: AutoAttachRelatedParamsImplementations§
Source§impl AutoAttachRelated
impl AutoAttachRelated
pub fn builder() -> AutoAttachRelatedBuilder
Source§impl AutoAttachRelated
impl AutoAttachRelated
pub const IDENTIFIER: &'static str = "Target.autoAttachRelated"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AutoAttachRelated
impl Clone for AutoAttachRelated
Source§fn clone(&self) -> AutoAttachRelated
fn clone(&self) -> AutoAttachRelated
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 CommandResult for AutoAttachRelated
impl CommandResult for AutoAttachRelated
type Result = AutoAttachRelatedResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for AutoAttachRelated
impl Debug for AutoAttachRelated
Source§impl<'de> Deserialize<'de> for AutoAttachRelated
impl<'de> Deserialize<'de> for AutoAttachRelated
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 From<AutoAttachRelated> for BrowserProtocolCommands
impl From<AutoAttachRelated> for BrowserProtocolCommands
Source§fn from(v: AutoAttachRelated) -> Self
fn from(v: AutoAttachRelated) -> Self
Converts to this type from the input type.
Source§impl From<AutoAttachRelated> for Command
impl From<AutoAttachRelated> for Command
Source§fn from(v: AutoAttachRelated) -> Self
fn from(v: AutoAttachRelated) -> Self
Converts to this type from the input type.
Source§impl From<AutoAttachRelated> for TargetCommands
impl From<AutoAttachRelated> for TargetCommands
Source§fn from(v: AutoAttachRelated) -> Self
fn from(v: AutoAttachRelated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AutoAttachRelated
impl PartialEq for AutoAttachRelated
Source§impl Serialize for AutoAttachRelated
impl Serialize for AutoAttachRelated
Source§impl TryFrom<BrowserProtocolCommands> for AutoAttachRelated
impl TryFrom<BrowserProtocolCommands> for AutoAttachRelated
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <AutoAttachRelated as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <AutoAttachRelated as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for AutoAttachRelated
impl TryFrom<Command> for AutoAttachRelated
Source§impl TryFrom<TargetCommands> for AutoAttachRelated
impl TryFrom<TargetCommands> for AutoAttachRelated
Source§type Error = TargetCommands
type Error = TargetCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: TargetCommands,
) -> Result<Self, <AutoAttachRelated as TryFrom<TargetCommands>>::Error>
fn try_from( e: TargetCommands, ) -> Result<Self, <AutoAttachRelated as TryFrom<TargetCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for AutoAttachRelated
Auto Trait Implementations§
impl Freeze for AutoAttachRelated
impl RefUnwindSafe for AutoAttachRelated
impl Send for AutoAttachRelated
impl Sync for AutoAttachRelated
impl Unpin for AutoAttachRelated
impl UnsafeUnpin for AutoAttachRelated
impl UnwindSafe for AutoAttachRelated
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