pub struct GetResponseBodyParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> GetResponseBodyParams<'a>
impl<'a> GetResponseBodyParams<'a>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetResponseBodyParams<'a>
impl<'a> CdpCommand<'a> for GetResponseBodyParams<'a>
Source§impl<'a> Clone for GetResponseBodyParams<'a>
impl<'a> Clone for GetResponseBodyParams<'a>
Source§fn clone(&self) -> GetResponseBodyParams<'a>
fn clone(&self) -> GetResponseBodyParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetResponseBodyParams<'a>
impl<'a> Debug for GetResponseBodyParams<'a>
Source§impl<'a> Default for GetResponseBodyParams<'a>
impl<'a> Default for GetResponseBodyParams<'a>
Source§fn default() -> GetResponseBodyParams<'a>
fn default() -> GetResponseBodyParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetResponseBodyParams<'a>
impl<'de, 'a> Deserialize<'de> for GetResponseBodyParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetResponseBodyParams<'a>
impl<'a> RefUnwindSafe for GetResponseBodyParams<'a>
impl<'a> Send for GetResponseBodyParams<'a>
impl<'a> Sync for GetResponseBodyParams<'a>
impl<'a> Unpin for GetResponseBodyParams<'a>
impl<'a> UnsafeUnpin for GetResponseBodyParams<'a>
impl<'a> UnwindSafe for GetResponseBodyParams<'a>
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