pub struct CdpCommand {
pub id: u64,
pub method: String,
pub params: Value,
}Expand description
A CDP JSON-RPC command — the punch being thrown.
Fields§
§id: u64Monotonically increasing command ID.
method: StringCDP method name (e.g. “Page.navigate”, “Runtime.evaluate”).
params: ValueMethod parameters.
Implementations§
Trait Implementations§
Source§impl Clone for CdpCommand
impl Clone for CdpCommand
Source§fn clone(&self) -> CdpCommand
fn clone(&self) -> CdpCommand
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 CdpCommand
impl Debug for CdpCommand
Auto Trait Implementations§
impl Freeze for CdpCommand
impl RefUnwindSafe for CdpCommand
impl Send for CdpCommand
impl Sync for CdpCommand
impl Unpin for CdpCommand
impl UnsafeUnpin for CdpCommand
impl UnwindSafe for CdpCommand
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