pub struct GetResponseBodyParams {
pub request_id: RequestId,
}Expand description
Causes the body of the response to be received from the server and
returned as a single string. May only be issued for a request that
is paused in the Response stage and is mutually exclusive with
takeResponseBodyForInterceptionAsStream. Calling other methods that
affect the request or disabling fetch domain before body is received
results in an undefined behavior.
Note that the response body is not available for redirects. Requests
paused in the redirect received state may be differentiated by
responseCode and presence of location response header, see
comments to requestPaused for details.
getResponseBody
Fields§
§request_id: RequestIdIdentifier for the intercepted request to get body for.
Implementations§
Trait Implementations§
Source§impl Clone for GetResponseBodyParams
impl Clone for GetResponseBodyParams
Source§fn clone(&self) -> GetResponseBodyParams
fn clone(&self) -> GetResponseBodyParams
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 GetResponseBodyParams
impl Debug for GetResponseBodyParams
Source§impl<'de> Deserialize<'de> for GetResponseBodyParams
impl<'de> Deserialize<'de> for GetResponseBodyParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetResponseBodyParams
impl PartialEq for GetResponseBodyParams
Source§impl Serialize for GetResponseBodyParams
impl Serialize for GetResponseBodyParams
impl StructuralPartialEq for GetResponseBodyParams
Auto Trait Implementations§
impl Freeze for GetResponseBodyParams
impl RefUnwindSafe for GetResponseBodyParams
impl Send for GetResponseBodyParams
impl Sync for GetResponseBodyParams
impl Unpin for GetResponseBodyParams
impl UnsafeUnpin for GetResponseBodyParams
impl UnwindSafe for GetResponseBodyParams
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