pub struct FrameAttachedEvent { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime only.Expand description
Fired when frame has been attached to its parent.
Implementations§
Source§impl FrameAttachedEvent
impl FrameAttachedEvent
pub fn new( frame_id: FrameId, parent_frame_id: FrameId, stack: Option<StackTrace>, ) -> Self
Sourcepub fn parent_frame_id(&self) -> &FrameId
pub fn parent_frame_id(&self) -> &FrameId
Parent frame identifier.
Sourcepub fn stack(&self) -> Option<&StackTrace>
pub fn stack(&self) -> Option<&StackTrace>
JavaScript stack trace of when frame was attached, only set if frame initiated from script.
Trait Implementations§
Source§impl Clone for FrameAttachedEvent
impl Clone for FrameAttachedEvent
Source§fn clone(&self) -> FrameAttachedEvent
fn clone(&self) -> FrameAttachedEvent
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 FrameAttachedEvent
impl Debug for FrameAttachedEvent
Source§impl<'de> Deserialize<'de> for FrameAttachedEvent
impl<'de> Deserialize<'de> for FrameAttachedEvent
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 FrameAttachedEvent
impl RefUnwindSafe for FrameAttachedEvent
impl Send for FrameAttachedEvent
impl Sync for FrameAttachedEvent
impl Unpin for FrameAttachedEvent
impl UnwindSafe for FrameAttachedEvent
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