pub struct ContinueResponse {
pub request_id: RequestId,
pub response_code: Option<JsUInt>,
pub response_phrase: Option<String>,
pub response_headers: Option<Vec<HeaderEntry>>,
pub binary_response_headers: Option<Vec<u8>>,
}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.
Fields§
§request_id: RequestIdAn id the client received in requestPaused event.
response_code: Option<JsUInt>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<Vec<u8>>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.
Trait Implementations§
Source§impl Clone for ContinueResponse
impl Clone for ContinueResponse
Source§fn clone(&self) -> ContinueResponse
fn clone(&self) -> ContinueResponse
Returns a duplicate 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 Debug for ContinueResponse
impl Debug for ContinueResponse
Source§impl<'de> Deserialize<'de> for ContinueResponse
impl<'de> Deserialize<'de> for ContinueResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for ContinueResponse
impl Method for ContinueResponse
const NAME: &'static str = "Fetch.continueResponse"
type ReturnObject = ContinueResponseReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for ContinueResponse
impl PartialEq for ContinueResponse
Source§impl Serialize for ContinueResponse
impl Serialize for ContinueResponse
impl StructuralPartialEq for ContinueResponse
Auto Trait Implementations§
impl Freeze for ContinueResponse
impl RefUnwindSafe for ContinueResponse
impl Send for ContinueResponse
impl Sync for ContinueResponse
impl Unpin for ContinueResponse
impl UnsafeUnpin for ContinueResponse
impl UnwindSafe for ContinueResponse
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