pub struct SessionEvent {
pub session_id: Option<String>,
pub method: String,
pub params: Value,
}Expand description
One CDP event, and which target raised it.
Fields§
§session_id: Option<String>The session the event came from, or None for the target the client is
connected to directly.
method: StringThe CDP event name, e.g. "Page.loadEventFired".
params: ValueThe event’s parameters, or Value::Null for an event that carries none.
Implementations§
Trait Implementations§
Source§impl Clone for SessionEvent
impl Clone for SessionEvent
Auto Trait Implementations§
impl Forget for SessionEvent
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
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