pub struct ResponseReceivedParams {
pub request_id: RequestId,
pub loader_id: Box<LoaderId>,
pub timestamp: MonotonicTime,
pub type: ResourceType,
pub response: Response,
pub has_extra_info: bool,
pub frame_id: Option<FrameId>,
}Expand description
Fired when HTTP response is available. responseReceived
Fields§
§request_id: RequestIdRequest identifier.
loader_id: Box<LoaderId>Loader identifier. Empty string if the request is fetched from worker.
timestamp: MonotonicTimeTimestamp.
type: ResourceTypeResource type.
response: ResponseResponse data.
has_extra_info: boolIndicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
frame_id: Option<FrameId>Frame identifier.
Trait Implementations§
Source§impl Clone for ResponseReceivedParams
impl Clone for ResponseReceivedParams
Source§fn clone(&self) -> ResponseReceivedParams
fn clone(&self) -> ResponseReceivedParams
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 ResponseReceivedParams
impl Debug for ResponseReceivedParams
Source§impl<'de> Deserialize<'de> for ResponseReceivedParams
impl<'de> Deserialize<'de> for ResponseReceivedParams
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 ResponseReceivedParams
impl PartialEq for ResponseReceivedParams
Source§impl Serialize for ResponseReceivedParams
impl Serialize for ResponseReceivedParams
impl StructuralPartialEq for ResponseReceivedParams
Auto Trait Implementations§
impl Freeze for ResponseReceivedParams
impl RefUnwindSafe for ResponseReceivedParams
impl Send for ResponseReceivedParams
impl Sync for ResponseReceivedParams
impl Unpin for ResponseReceivedParams
impl UnsafeUnpin for ResponseReceivedParams
impl UnwindSafe for ResponseReceivedParams
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