pub struct ConsoleAPICalledEventParams {
pub type: ConsoleApiCalledTypeOption,
pub args: Vec<RemoteObject>,
pub execution_context_id: ExecutionContextId,
pub timestamp: Timestamp,
pub stack_trace: Option<StackTrace>,
pub context: Option<String>,
}Fields§
§type: ConsoleApiCalledTypeOptionType 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 ConsoleAPICalledEventParams
impl Clone for ConsoleAPICalledEventParams
Source§fn clone(&self) -> ConsoleAPICalledEventParams
fn clone(&self) -> ConsoleAPICalledEventParams
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 ConsoleAPICalledEventParams
impl Debug for ConsoleAPICalledEventParams
Source§impl<'de> Deserialize<'de> for ConsoleAPICalledEventParams
impl<'de> Deserialize<'de> for ConsoleAPICalledEventParams
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
impl StructuralPartialEq for ConsoleAPICalledEventParams
Auto Trait Implementations§
impl Freeze for ConsoleAPICalledEventParams
impl RefUnwindSafe for ConsoleAPICalledEventParams
impl Send for ConsoleAPICalledEventParams
impl Sync for ConsoleAPICalledEventParams
impl Unpin for ConsoleAPICalledEventParams
impl UnsafeUnpin for ConsoleAPICalledEventParams
impl UnwindSafe for ConsoleAPICalledEventParams
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