pub struct InterceptedRequestBody {
pub request_id: String,
pub url: String,
pub method: String,
pub resource_type: String,
pub tab_id: u32,
pub frame_id: u64,
pub body: Option<RequestBody>,
}Expand description
Data about an intercepted request body (read-only, cannot be modified).
Browser limitation: request body cannot be modified, only inspected.
Fields§
§request_id: StringUnique request ID.
url: StringRequest URL.
method: StringHTTP method.
resource_type: StringResource type (document, script, xhr, etc.).
tab_id: u32Tab ID.
frame_id: u64Frame ID.
body: Option<RequestBody>Request body (if available).
Trait Implementations§
Source§impl Clone for InterceptedRequestBody
impl Clone for InterceptedRequestBody
Source§fn clone(&self) -> InterceptedRequestBody
fn clone(&self) -> InterceptedRequestBody
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 moreAuto Trait Implementations§
impl Freeze for InterceptedRequestBody
impl RefUnwindSafe for InterceptedRequestBody
impl Send for InterceptedRequestBody
impl Sync for InterceptedRequestBody
impl Unpin for InterceptedRequestBody
impl UnwindSafe for InterceptedRequestBody
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