Struct cdp::network::WebSocketResponse
[−]
[src]
pub struct WebSocketResponse<'a> { pub status: f64, pub status_text: Cow<'a, str>, pub headers: Headers, pub headers_text: Option<Cow<'a, str>>, pub request_headers: Option<Headers>, pub request_headers_text: Option<Cow<'a, str>>, }
[Experimental] WebSocket response data.
Fields
status: f64
HTTP response status code.
status_text: Cow<'a, str>
HTTP response status text.
headers: Headers
HTTP response headers.
headers_text: Option<Cow<'a, str>>
HTTP response headers text.
request_headers: Option<Headers>
HTTP request headers.
request_headers_text: Option<Cow<'a, str>>
HTTP request headers text.
Trait Implementations
impl<'a> Clone for WebSocketResponse<'a>
[src]
fn clone(&self) -> WebSocketResponse<'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 WebSocketResponse<'a>
[src]
impl<'a> PartialEq for WebSocketResponse<'a>
[src]
fn eq(&self, __arg_0: &WebSocketResponse<'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: &WebSocketResponse<'a>) -> bool
[src]
This method tests for !=
.