pub struct FrameAttachedEventParamsBuilder { /* private fields */ }Expand description
Builder for FrameAttachedEventParams.
Implementations§
Source§impl FrameAttachedEventParamsBuilder
impl FrameAttachedEventParamsBuilder
Sourcepub fn frame_id(&mut self, value: FrameId) -> &mut Self
pub fn frame_id(&mut self, value: FrameId) -> &mut Self
Id of the frame that has been attached.
Sourcepub fn parent_frame_id(&mut self, value: FrameId) -> &mut Self
pub fn parent_frame_id(&mut self, value: FrameId) -> &mut Self
Parent frame identifier.
Sourcepub fn stack(&mut self, value: Option<StackTrace>) -> &mut Self
pub fn stack(&mut self, value: Option<StackTrace>) -> &mut Self
JavaScript stack trace of when frame was attached, only set if frame initiated from script.
Sourcepub fn build(
&self,
) -> Result<FrameAttachedEventParams, FrameAttachedEventParamsBuilderError>
pub fn build( &self, ) -> Result<FrameAttachedEventParams, FrameAttachedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for FrameAttachedEventParamsBuilder
impl Clone for FrameAttachedEventParamsBuilder
Source§fn clone(&self) -> FrameAttachedEventParamsBuilder
fn clone(&self) -> FrameAttachedEventParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for FrameAttachedEventParamsBuilder
impl RefUnwindSafe for FrameAttachedEventParamsBuilder
impl Send for FrameAttachedEventParamsBuilder
impl Sync for FrameAttachedEventParamsBuilder
impl Unpin for FrameAttachedEventParamsBuilder
impl UnsafeUnpin for FrameAttachedEventParamsBuilder
impl UnwindSafe for FrameAttachedEventParamsBuilder
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