pub struct ResponseReceivedEarlyHintsEvent {
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.
Experimental: may change without notice.
Payload of the Network.responseReceivedEarlyHints event.
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<'de> Deserialize<'de> for ResponseReceivedEarlyHintsEvent
impl<'de> Deserialize<'de> for ResponseReceivedEarlyHintsEvent
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
impl StructuralPartialEq for ResponseReceivedEarlyHintsEvent
Auto Trait Implementations§
impl Forget for ResponseReceivedEarlyHintsEvent
impl Freeze for ResponseReceivedEarlyHintsEvent
impl RefUnwindSafe for ResponseReceivedEarlyHintsEvent
impl Send for ResponseReceivedEarlyHintsEvent
impl Sync for ResponseReceivedEarlyHintsEvent
impl Unpin for ResponseReceivedEarlyHintsEvent
impl UnsafeUnpin for ResponseReceivedEarlyHintsEvent
impl UnwindSafe for ResponseReceivedEarlyHintsEvent
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