pub struct ResponseReceivedEarlyHintsParams {
pub request_id: RequestId,
pub headers: Headers,
}Expand description
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event. responseReceivedEarlyHints
Fields§
§request_id: RequestIdRequest identifier. Used to match this information to another responseReceived event.
headers: HeadersRaw response headers as they were received over the wire.
Duplicate headers in the response are represented as a single key with their values
concatentated using \n as the separator.
See also headersText that contains verbatim text for HTTP/1.*.
Trait Implementations§
Source§impl Clone for ResponseReceivedEarlyHintsParams
impl Clone for ResponseReceivedEarlyHintsParams
Source§fn clone(&self) -> ResponseReceivedEarlyHintsParams
fn clone(&self) -> ResponseReceivedEarlyHintsParams
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<'de> Deserialize<'de> for ResponseReceivedEarlyHintsParams
impl<'de> Deserialize<'de> for ResponseReceivedEarlyHintsParams
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 PartialEq for ResponseReceivedEarlyHintsParams
impl PartialEq for ResponseReceivedEarlyHintsParams
Source§fn eq(&self, other: &ResponseReceivedEarlyHintsParams) -> bool
fn eq(&self, other: &ResponseReceivedEarlyHintsParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseReceivedEarlyHintsParams
Auto Trait Implementations§
impl Freeze for ResponseReceivedEarlyHintsParams
impl RefUnwindSafe for ResponseReceivedEarlyHintsParams
impl Send for ResponseReceivedEarlyHintsParams
impl Sync for ResponseReceivedEarlyHintsParams
impl Unpin for ResponseReceivedEarlyHintsParams
impl UnsafeUnpin for ResponseReceivedEarlyHintsParams
impl UnwindSafe for ResponseReceivedEarlyHintsParams
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