Struct chrome_remote_interface_model::network::Response [−][src]
HTTP response data.
Implementations
impl Response[src]
pub fn builder() -> ResponseBuilder[src]
pub fn url(&self) -> &str[src]
Response URL. This URL can be different from CachedResource.url in case of redirect.
pub fn status(&self) -> u32[src]
HTTP response status code.
pub fn status_text(&self) -> &str[src]
HTTP response status text.
pub fn headers(&self) -> &Headers[src]
HTTP response headers.
pub fn headers_text(&self) -> Option<&String>[src]
HTTP response headers text.
pub fn mime_type(&self) -> &str[src]
Resource mimeType as determined by the browser.
pub fn request_headers(&self) -> Option<&Headers>[src]
Refined HTTP request headers that were actually transmitted over the network.
pub fn request_headers_text(&self) -> Option<&String>[src]
HTTP request headers text.
pub fn connection_reused(&self) -> bool[src]
Specifies whether physical connection was actually reused for this request.
pub fn connection_id(&self) -> f64[src]
Physical connection id that was actually used for this request.
pub fn remote_ip_address(&self) -> Option<&String>[src]
Remote IP address.
pub fn remote_port(&self) -> Option<&u32>[src]
Remote port.
pub fn from_disk_cache(&self) -> Option<&bool>[src]
Specifies that the request was served from the disk cache.
pub fn from_service_worker(&self) -> Option<&bool>[src]
Specifies that the request was served from the ServiceWorker.
pub fn from_prefetch_cache(&self) -> Option<&bool>[src]
Specifies that the request was served from the prefetch cache.
pub fn encoded_data_length(&self) -> f64[src]
Total number of bytes received for this request so far.
pub fn timing(&self) -> Option<&ResourceTiming>[src]
Timing information for the given request.
pub fn service_worker_response_source(
&self
) -> Option<&ServiceWorkerResponseSource>[src]
&self
) -> Option<&ServiceWorkerResponseSource>
Response source of response from ServiceWorker.
pub fn response_time(&self) -> Option<&TimeSinceEpoch>[src]
The time at which the returned response was generated.
pub fn cache_storage_cache_name(&self) -> Option<&String>[src]
Cache Storage Cache Name.
pub fn protocol(&self) -> Option<&String>[src]
Protocol used to fetch this request.
pub fn security_state(&self) -> &SecurityState[src]
Security state of the request resource.
pub fn security_details(&self) -> Option<&SecurityDetails>[src]
Security details for the request.
Trait Implementations
impl Clone for Response[src]
impl Debug for Response[src]
impl<'de> Deserialize<'de> for Response[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for Response[src]
Auto Trait Implementations
impl RefUnwindSafe for Response[src]
impl Send for Response[src]
impl Sync for Response[src]
impl Unpin for Response[src]
impl UnwindSafe for Response[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,