Struct chromiumoxide::cdp::js_protocol::runtime::EventConsoleApiCalled
source · [−]pub struct EventConsoleApiCalled {
pub type: ConsoleApiCalledType,
pub args: Vec<RemoteObject, Global>,
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, Global>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.
Implementations
sourceimpl EventConsoleApiCalled
impl EventConsoleApiCalled
pub const IDENTIFIER: &'static str
Trait Implementations
sourceimpl Clone for EventConsoleApiCalled
impl Clone for EventConsoleApiCalled
sourcefn clone(&self) -> EventConsoleApiCalled
fn clone(&self) -> EventConsoleApiCalled
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EventConsoleApiCalled
impl Debug for EventConsoleApiCalled
sourceimpl<'de> Deserialize<'de> for EventConsoleApiCalled
impl<'de> Deserialize<'de> for EventConsoleApiCalled
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<EventConsoleApiCalled, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventConsoleApiCalled, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<EventConsoleApiCalled> for CdpEvent
impl From<EventConsoleApiCalled> for CdpEvent
sourcefn from(el: EventConsoleApiCalled) -> CdpEvent
fn from(el: EventConsoleApiCalled) -> CdpEvent
Converts to this type from the input type.
sourceimpl IntoEventKind for EventConsoleApiCalled
impl IntoEventKind for EventConsoleApiCalled
sourcefn event_kind() -> EventKind where
EventConsoleApiCalled: 'static,
EventConsoleApiCalled: Sized,
fn event_kind() -> EventKind where
EventConsoleApiCalled: 'static,
EventConsoleApiCalled: Sized,
What kind of event this type is
sourceimpl Method for EventConsoleApiCalled
impl Method for EventConsoleApiCalled
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like: DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain: removeNode
sourceimpl MethodType for EventConsoleApiCalled
impl MethodType for EventConsoleApiCalled
sourceimpl PartialEq<EventConsoleApiCalled> for EventConsoleApiCalled
impl PartialEq<EventConsoleApiCalled> for EventConsoleApiCalled
sourcefn eq(&self, other: &EventConsoleApiCalled) -> bool
fn eq(&self, other: &EventConsoleApiCalled) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EventConsoleApiCalled) -> bool
fn ne(&self, other: &EventConsoleApiCalled) -> bool
This method tests for !=.
sourceimpl Serialize for EventConsoleApiCalled
impl Serialize for EventConsoleApiCalled
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryFrom<CdpEvent> for EventConsoleApiCalled
impl TryFrom<CdpEvent> for EventConsoleApiCalled
impl StructuralPartialEq for EventConsoleApiCalled
Auto Trait Implementations
impl RefUnwindSafe for EventConsoleApiCalled
impl Send for EventConsoleApiCalled
impl Sync for EventConsoleApiCalled
impl Unpin for EventConsoleApiCalled
impl UnwindSafe for EventConsoleApiCalled
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more