pub struct Request {
pub id: RequestId,
pub tab_id: TabId,
pub frame_id: FrameId,
pub command: Command,
}Expand description
A command request from local end to remote end.
§Format
{
"id": "uuid",
"method": "module.methodName",
"tabId": 1,
"frameId": 0,
"params": { ... }
}Fields§
§id: RequestIdUnique identifier for request/response correlation.
tab_id: TabIdTarget tab ID.
frame_id: FrameIdTarget frame ID (0 = main frame).
command: CommandCommand with method and params.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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