pub struct ConsoleApiCalledEvent {
pub type: ConsoleApiCalledType,
pub args: Vec<RemoteObject>,
pub execution_context_id: ExecutionContextId,
pub timestamp: Timestamp,
pub stack_trace: Option<StackTrace>,
pub context: Option<String>,
}Expand description
Issued when console API was called.
Payload of the Runtime.consoleAPICalled event.
Fields§
§type: ConsoleApiCalledTypeType of the call.
args: Vec<RemoteObject>Call arguments.
execution_context_id: ExecutionContextIdIdentifier of the context where the call was made.
timestamp: TimestampCall timestamp.
stack_trace: 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.
context: Option<String>Console context descriptor for calls on non-default console context (not console.*): ‘anonymous#unique-logger-id’ for call on unnamed context, ‘name#unique-logger-id’ for call on named context.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for ConsoleApiCalledEvent
impl Clone for ConsoleApiCalledEvent
Source§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
Source§impl Event for ConsoleApiCalledEvent
impl Event for ConsoleApiCalledEvent
Source§impl PartialEq for ConsoleApiCalledEvent
impl PartialEq for ConsoleApiCalledEvent
Source§impl Serialize for ConsoleApiCalledEvent
impl Serialize for ConsoleApiCalledEvent
impl StructuralPartialEq for ConsoleApiCalledEvent
Auto Trait Implementations§
impl Forget for ConsoleApiCalledEvent
impl Freeze for ConsoleApiCalledEvent
impl RefUnwindSafe for ConsoleApiCalledEvent
impl Send for ConsoleApiCalledEvent
impl Sync for ConsoleApiCalledEvent
impl Unpin for ConsoleApiCalledEvent
impl UnsafeUnpin 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