Struct chromiumoxide_cdp::cdp::browser_protocol::fetch::FulfillRequestParamsBuilder[][src]

pub struct FulfillRequestParamsBuilder { /* fields omitted */ }

Implementations

impl FulfillRequestParamsBuilder[src]

pub fn request_id(self, request_id: impl Into<RequestId>) -> Self[src]

pub fn response_code(self, response_code: impl Into<i64>) -> Self[src]

pub fn response_header(self, response_header: impl Into<HeaderEntry>) -> Self[src]

pub fn response_headers<I, S>(self, response_headers: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<HeaderEntry>, 
[src]

pub fn binary_response_headers(
    self,
    binary_response_headers: impl Into<Binary>
) -> Self
[src]

pub fn body(self, body: impl Into<Binary>) -> Self[src]

pub fn response_phrase(self, response_phrase: impl Into<String>) -> Self[src]

pub fn build(self) -> Result<FulfillRequestParams, String>[src]

Trait Implementations

impl Clone for FulfillRequestParamsBuilder[src]

impl Default for FulfillRequestParamsBuilder[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> 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.