pub struct ConsoleApiCalledEvent { /* private fields */ }Available on crate feature
Runtime only.Expand description
Issued when console API was called.
Implementations§
Source§impl ConsoleApiCalledEvent
impl ConsoleApiCalledEvent
pub fn builder() -> ConsoleApiCalledEventBuilder
Sourcepub fn type(&self) -> &ConsoleApiCalledEventType
pub fn type(&self) -> &ConsoleApiCalledEventType
Type of the call.
Sourcepub fn args(&self) -> &[RemoteObject]
pub fn args(&self) -> &[RemoteObject]
Call arguments.
Sourcepub fn execution_context_id(&self) -> &ExecutionContextId
pub fn execution_context_id(&self) -> &ExecutionContextId
Identifier of the context where the call was made.
Sourcepub fn stack_trace(&self) -> Option<&StackTrace>
pub fn stack_trace(&self) -> Option<&StackTrace>
Stack trace captured when the call was made. The async stack chain is automatically reported for
the following call types: assert, error, trace, warning. For other types the async call
chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.
Trait Implementations§
Source§impl Clone for ConsoleApiCalledEvent
impl Clone for ConsoleApiCalledEvent
Source§fn clone(&self) -> ConsoleApiCalledEvent
fn clone(&self) -> ConsoleApiCalledEvent
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 ConsoleApiCalledEvent
impl Debug for ConsoleApiCalledEvent
Source§impl<'de> Deserialize<'de> for ConsoleApiCalledEvent
impl<'de> Deserialize<'de> for ConsoleApiCalledEvent
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 ConsoleApiCalledEvent
impl RefUnwindSafe for ConsoleApiCalledEvent
impl Send for ConsoleApiCalledEvent
impl Sync for ConsoleApiCalledEvent
impl Unpin for ConsoleApiCalledEvent
impl UnwindSafe for ConsoleApiCalledEvent
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