Struct chromiumoxide_cdp::cdp::browser_protocol::fetch::FulfillRequestParamsBuilder [−][src]
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]
I: IntoIterator<Item = S>,
S: Into<HeaderEntry>,
pub fn binary_response_headers(
self,
binary_response_headers: impl Into<Binary>
) -> Self
[src]
self,
binary_response_headers: impl Into<Binary>
) -> Self
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]
fn clone(&self) -> FulfillRequestParamsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for FulfillRequestParamsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for FulfillRequestParamsBuilder
impl Send for FulfillRequestParamsBuilder
impl Sync for FulfillRequestParamsBuilder
impl Unpin for FulfillRequestParamsBuilder
impl UnwindSafe for FulfillRequestParamsBuilder
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> 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>,