Struct chromiumoxide::cdp::browser_protocol::fetch::ContinueRequestParams
source · pub struct ContinueRequestParams {
pub request_id: RequestId,
pub url: Option<String>,
pub method: Option<String>,
pub post_data: Option<Binary>,
pub headers: Option<Vec<HeaderEntry, Global>>,
pub intercept_response: Option<bool>,
}Expand description
Continues the request, optionally modifying some of its parameters. continueRequest
Fields§
§request_id: RequestIdAn id the client received in requestPaused event.
url: Option<String>If set, the request url will be modified in a way that’s not observable by page.
method: Option<String>If set, the request method is overridden.
post_data: Option<Binary>If set, overrides the post data in the request.
headers: Option<Vec<HeaderEntry, Global>>If set, overrides the request headers.
intercept_response: Option<bool>If set, overrides response interception behavior for this request.
Implementations§
source§impl ContinueRequestParams
impl ContinueRequestParams
pub fn new(request_id: impl Into<RequestId>) -> ContinueRequestParams
source§impl ContinueRequestParams
impl ContinueRequestParams
pub fn builder() -> ContinueRequestParamsBuilder
source§impl ContinueRequestParams
impl ContinueRequestParams
pub const IDENTIFIER: &'static str = "Fetch.continueRequest"
Trait Implementations§
source§impl Clone for ContinueRequestParams
impl Clone for ContinueRequestParams
source§fn clone(&self) -> ContinueRequestParams
fn clone(&self) -> ContinueRequestParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Command for ContinueRequestParams
impl Command for ContinueRequestParams
§type Response = ContinueRequestReturns
type Response = ContinueRequestReturns
The type of the response this request triggers on the chromium server
source§impl Debug for ContinueRequestParams
impl Debug for ContinueRequestParams
source§impl<'de> Deserialize<'de> for ContinueRequestParams
impl<'de> Deserialize<'de> for ContinueRequestParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContinueRequestParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ContinueRequestParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for ContinueRequestParams
impl Method for ContinueRequestParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for ContinueRequestParams
impl MethodType for ContinueRequestParams
source§impl PartialEq<ContinueRequestParams> for ContinueRequestParams
impl PartialEq<ContinueRequestParams> for ContinueRequestParams
source§fn eq(&self, other: &ContinueRequestParams) -> bool
fn eq(&self, other: &ContinueRequestParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContinueRequestParams
impl Serialize for ContinueRequestParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more