pub struct DevToolsProtocolEventReceivedArgs(/* private fields */);Expand description
A Chrome DevTools Protocol event, delivered to a
WebView::on_dev_tools_protocol_event handler. The event’s parameters are
available as a JSON object string.
Implementations§
Source§impl DevToolsProtocolEventReceivedArgs
impl DevToolsProtocolEventReceivedArgs
Sourcepub fn parameter_object_as_json(&self) -> String
pub fn parameter_object_as_json(&self) -> String
Returns the event’s parameter object as a JSON string, matching the
params of the corresponding CDP event.
Auto Trait Implementations§
impl !Send for DevToolsProtocolEventReceivedArgs
impl !Sync for DevToolsProtocolEventReceivedArgs
impl Freeze for DevToolsProtocolEventReceivedArgs
impl RefUnwindSafe for DevToolsProtocolEventReceivedArgs
impl Unpin for DevToolsProtocolEventReceivedArgs
impl UnsafeUnpin for DevToolsProtocolEventReceivedArgs
impl UnwindSafe for DevToolsProtocolEventReceivedArgs
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