pub struct ConsoleApiCalledParams {
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. consoleAPICalled
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.
Trait Implementations§
Source§impl Clone for ConsoleApiCalledParams
impl Clone for ConsoleApiCalledParams
Source§fn clone(&self) -> ConsoleApiCalledParams
fn clone(&self) -> ConsoleApiCalledParams
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 ConsoleApiCalledParams
impl Debug for ConsoleApiCalledParams
Source§impl<'de> Deserialize<'de> for ConsoleApiCalledParams
impl<'de> Deserialize<'de> for ConsoleApiCalledParams
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 PartialEq for ConsoleApiCalledParams
impl PartialEq for ConsoleApiCalledParams
Source§impl Serialize for ConsoleApiCalledParams
impl Serialize for ConsoleApiCalledParams
impl StructuralPartialEq for ConsoleApiCalledParams
Auto Trait Implementations§
impl Freeze for ConsoleApiCalledParams
impl RefUnwindSafe for ConsoleApiCalledParams
impl Send for ConsoleApiCalledParams
impl Sync for ConsoleApiCalledParams
impl Unpin for ConsoleApiCalledParams
impl UnsafeUnpin for ConsoleApiCalledParams
impl UnwindSafe for ConsoleApiCalledParams
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