Struct chrome_remote_interface_model::network::ContinueInterceptedRequestCommandBuilder [−][src]
Network
and Debugger
and Runtime
and Security
and experimental
only.Implementations
impl ContinueInterceptedRequestCommandBuilder
[src]
pub fn interception_id(&mut self, v: InterceptionId) -> &mut Self
[src]
pub fn error_reason(&mut self, v: ErrorReason) -> &mut Self
[src]
If set this causes the request to fail with the given reason. Passing Aborted
for requests
marked with isNavigationRequest
also cancels the navigation. Must not be set in response
to an authChallenge.
pub fn raw_response(&mut self, v: String) -> &mut Self
[src]
If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.
pub fn url(&mut self, v: String) -> &mut Self
[src]
If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.
pub fn method(&mut self, v: String) -> &mut Self
[src]
If set this allows the request method to be overridden. Must not be set in response to an authChallenge.
pub fn post_data(&mut self, v: String) -> &mut Self
[src]
If set this allows postData to be set. Must not be set in response to an authChallenge.
pub fn headers(&mut self, v: Headers) -> &mut Self
[src]
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
pub fn auth_challenge_response(&mut self, v: JsonValue) -> &mut Self
[src]
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
pub fn build(
&mut self
) -> Result<ContinueInterceptedRequestCommand, &'static str>
[src]
&mut self
) -> Result<ContinueInterceptedRequestCommand, &'static str>
Trait Implementations
impl Clone for ContinueInterceptedRequestCommandBuilder
[src]
fn clone(&self) -> ContinueInterceptedRequestCommandBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ContinueInterceptedRequestCommandBuilder
[src]
impl Default for ContinueInterceptedRequestCommandBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContinueInterceptedRequestCommandBuilder
[src]
impl Send for ContinueInterceptedRequestCommandBuilder
[src]
impl Sync for ContinueInterceptedRequestCommandBuilder
[src]
impl Unpin for ContinueInterceptedRequestCommandBuilder
[src]
impl UnwindSafe for ContinueInterceptedRequestCommandBuilder
[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> 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>,