pub struct ContinueResponseParams {
pub request_id: RequestId,
pub response_code: Option<i64>,
pub response_phrase: Option<String>,
pub response_headers: Option<Vec<HeaderEntry>>,
pub binary_response_headers: Option<Binary>,
}
Expand description
Continues loading of the paused response, optionally modifying the response headers. If either responseCode or headers are modified, all of them must be present. continueResponse
Fields§
§request_id: RequestId
An id the client received in requestPaused event.
response_code: Option<i64>
An HTTP response code. If absent, original response code will be used.
response_phrase: Option<String>
A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.
response_headers: Option<Vec<HeaderEntry>>
Response headers. If absent, original response headers will be used.
binary_response_headers: Option<Binary>
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.
Implementations§
Source§impl ContinueResponseParams
impl ContinueResponseParams
pub fn new(request_id: impl Into<RequestId>) -> ContinueResponseParams
Source§impl ContinueResponseParams
impl ContinueResponseParams
pub fn builder() -> ContinueResponseParamsBuilder
Source§impl ContinueResponseParams
impl ContinueResponseParams
pub const IDENTIFIER: &'static str = "Fetch.continueResponse"
Trait Implementations§
Source§impl Clone for ContinueResponseParams
impl Clone for ContinueResponseParams
Source§fn clone(&self) -> ContinueResponseParams
fn clone(&self) -> ContinueResponseParams
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 ContinueResponseParams
impl Command for ContinueResponseParams
Source§impl Debug for ContinueResponseParams
impl Debug for ContinueResponseParams
Source§impl<'de> Deserialize<'de> for ContinueResponseParams
impl<'de> Deserialize<'de> for ContinueResponseParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContinueResponseParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContinueResponseParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for ContinueResponseParams
impl Method for ContinueResponseParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl MethodType for ContinueResponseParams
impl MethodType for ContinueResponseParams
Source§impl PartialEq for ContinueResponseParams
impl PartialEq for ContinueResponseParams
Source§impl Serialize for ContinueResponseParams
impl Serialize for ContinueResponseParams
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
impl StructuralPartialEq for ContinueResponseParams
Auto Trait Implementations§
impl Freeze for ContinueResponseParams
impl RefUnwindSafe for ContinueResponseParams
impl Send for ContinueResponseParams
impl Sync for ContinueResponseParams
impl Unpin for ContinueResponseParams
impl UnwindSafe for ContinueResponseParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more