Struct cdp::network::GetResponseBodyResponse
[−]
[src]
pub struct GetResponseBodyResponse<'a> { pub body: Cow<'a, str>, pub base_64_encoded: bool, }
Returns content served for the given request.
Command Network.getResponseBody
Domain Module: cdp::network
Command Struct: cdp::network::GetResponseBodyCommand
Response Struct: cdp::network::GetResponseBodyResponse
Fields
body: Cow<'a, str>
Response body.
base_64_encoded: bool
True, if content was sent as base64.
Trait Implementations
impl<'a> Clone for GetResponseBodyResponse<'a>
[src]
fn clone(&self) -> GetResponseBodyResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for GetResponseBodyResponse<'a>
[src]
impl<'a> PartialEq for GetResponseBodyResponse<'a>
[src]
fn eq(&self, __arg_0: &GetResponseBodyResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetResponseBodyResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for GetResponseBodyResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Network.getResponseBody"