Struct chrome_remote_interface_model::network::Request[][src]

pub struct Request { /* fields omitted */ }

HTTP request data.

Implementations

impl Request[src]

pub fn builder() -> RequestBuilder[src]

pub fn url(&self) -> &str[src]

Request URL (without fragment).

pub fn url_fragment(&self) -> Option<&String>[src]

Fragment of the requested URL starting with hash, if present.

pub fn method(&self) -> &str[src]

HTTP request method.

pub fn headers(&self) -> &Headers[src]

HTTP request headers.

pub fn post_data(&self) -> Option<&String>[src]

HTTP POST request data.

pub fn has_post_data(&self) -> Option<&bool>[src]

True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.

pub fn mixed_content_type(&self) -> Option<&MixedContentType>[src]

The mixed content type of the request.

pub fn initial_priority(&self) -> &ResourcePriority[src]

Priority of the resource request at the time request is sent.

pub fn referrer_policy(&self) -> &RequestReferrerPolicy[src]

The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/

Whether is loaded via link preload.

Trait Implementations

impl Clone for Request[src]

impl Debug for Request[src]

impl<'de> Deserialize<'de> for Request[src]

impl Serialize for Request[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.