pub struct ConsoleApiCalledEvent {
pub call_type: ConsoleApiType,
pub args: Vec<RemoteObject>,
pub execution_context_id: ExecutionContextId,
pub timestamp: f64,
pub stack_trace: Option<StackTrace>,
pub context: Option<String>,
}Expand description
Event: Runtime.consoleAPICalled
Issued when console API was called.
Fields§
§call_type: ConsoleApiTypeType of the call.
args: Vec<RemoteObject>Call arguments.
execution_context_id: ExecutionContextIdIdentifier of the context where the call was made.
timestamp: f64Call timestamp.
stack_trace: Option<StackTrace>Stack trace captured when the call was made.
context: Option<String>Console context descriptor for calls on non-default console context (not console.*): ‘anonymous#unique-logger-id’ for call on unnamed context.
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