pub struct InterceptedResponseBody {
pub request_id: String,
pub url: String,
pub status: u16,
pub content_type: String,
pub body: ResponseBodyData,
pub tab_id: u32,
pub frame_id: u64,
pub content_length: usize,
}Expand description
Data about an intercepted response body.
Fields§
§request_id: StringUnique request ID.
url: StringRequest URL.
status: u16HTTP status code.
content_type: StringContent-Type of the response.
body: ResponseBodyDataResponse body data (text or binary).
tab_id: u32Tab ID.
frame_id: u64Frame ID.
content_length: usizeContent length.
Trait Implementations§
Source§impl Clone for InterceptedResponseBody
impl Clone for InterceptedResponseBody
Source§fn clone(&self) -> InterceptedResponseBody
fn clone(&self) -> InterceptedResponseBody
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 InterceptedResponseBody
impl RefUnwindSafe for InterceptedResponseBody
impl Send for InterceptedResponseBody
impl Sync for InterceptedResponseBody
impl Unpin for InterceptedResponseBody
impl UnsafeUnpin for InterceptedResponseBody
impl UnwindSafe for InterceptedResponseBody
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