Struct chrome_remote_interface_model::fetch::FulfillRequestCommand[][src]

pub struct FulfillRequestCommand { /* fields omitted */ }

Provides response to the request.

Implementations

impl FulfillRequestCommand[src]

pub fn builder() -> FulfillRequestCommandBuilder[src]

pub fn request_id(&self) -> &RequestId[src]

An id the client received in requestPaused event.

pub fn response_code(&self) -> u32[src]

An HTTP response code.

pub fn response_headers(&self) -> Option<&Vec<HeaderEntry>>[src]

Response headers.

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

Alternative way of specifying response headers as a \0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text.

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

A response body.

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

A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.

Trait Implementations

impl Clone for FulfillRequestCommand[src]

impl Command for FulfillRequestCommand[src]

type Return = FulfillRequestReturn

Return type.

impl Debug for FulfillRequestCommand[src]

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

impl Serialize for FulfillRequestCommand[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.