pub struct ResponseReceivedEarlyHints {
pub method: ResponseReceivedEarlyHintsMethod,
pub params: ResponseReceivedEarlyHintsParams,
}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§
§method: ResponseReceivedEarlyHintsMethod§params: ResponseReceivedEarlyHintsParamsImplementations§
Source§impl ResponseReceivedEarlyHints
impl ResponseReceivedEarlyHints
pub const IDENTIFIER: &'static str = "Network.responseReceivedEarlyHints"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ResponseReceivedEarlyHints
impl Clone for ResponseReceivedEarlyHints
Source§fn clone(&self) -> ResponseReceivedEarlyHints
fn clone(&self) -> ResponseReceivedEarlyHints
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 ResponseReceivedEarlyHints
impl Debug for ResponseReceivedEarlyHints
Source§impl<'de> Deserialize<'de> for ResponseReceivedEarlyHints
impl<'de> Deserialize<'de> for ResponseReceivedEarlyHints
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 From<ResponseReceivedEarlyHints> for BrowserProtocolEvents
impl From<ResponseReceivedEarlyHints> for BrowserProtocolEvents
Source§fn from(v: ResponseReceivedEarlyHints) -> Self
fn from(v: ResponseReceivedEarlyHints) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReceivedEarlyHints> for Event
impl From<ResponseReceivedEarlyHints> for Event
Source§fn from(v: ResponseReceivedEarlyHints) -> Self
fn from(v: ResponseReceivedEarlyHints) -> Self
Converts to this type from the input type.
Source§impl From<ResponseReceivedEarlyHints> for NetworkEvents
impl From<ResponseReceivedEarlyHints> for NetworkEvents
Source§fn from(v: ResponseReceivedEarlyHints) -> Self
fn from(v: ResponseReceivedEarlyHints) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolEvents> for ResponseReceivedEarlyHints
impl TryFrom<BrowserProtocolEvents> for ResponseReceivedEarlyHints
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <ResponseReceivedEarlyHints as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <ResponseReceivedEarlyHints as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for ResponseReceivedEarlyHints
impl TryFrom<Event> for ResponseReceivedEarlyHints
Source§impl TryFrom<NetworkEvents> for ResponseReceivedEarlyHints
impl TryFrom<NetworkEvents> for ResponseReceivedEarlyHints
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <ResponseReceivedEarlyHints as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <ResponseReceivedEarlyHints as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for ResponseReceivedEarlyHints
Auto Trait Implementations§
impl Freeze for ResponseReceivedEarlyHints
impl RefUnwindSafe for ResponseReceivedEarlyHints
impl Send for ResponseReceivedEarlyHints
impl Sync for ResponseReceivedEarlyHints
impl Unpin for ResponseReceivedEarlyHints
impl UnsafeUnpin for ResponseReceivedEarlyHints
impl UnwindSafe for ResponseReceivedEarlyHints
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