pub struct EventResponseReceived {
pub request_id: RequestId,
pub loader_id: 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: RequestId
Request identifier.
loader_id: LoaderId
Loader identifier. Empty string if the request is fetched from worker.
timestamp: MonotonicTime
Timestamp.
type: ResourceType
Resource type.
response: Response
Response data.
has_extra_info: bool
Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
frame_id: Option<FrameId>
Frame identifier.
Implementations§
Source§impl EventResponseReceived
impl EventResponseReceived
pub const IDENTIFIER: &'static str = "Network.responseReceived"
Trait Implementations§
Source§impl Clone for EventResponseReceived
impl Clone for EventResponseReceived
Source§fn clone(&self) -> EventResponseReceived
fn clone(&self) -> EventResponseReceived
Returns a copy 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 EventResponseReceived
impl Debug for EventResponseReceived
Source§impl<'de> Deserialize<'de> for EventResponseReceived
impl<'de> Deserialize<'de> for EventResponseReceived
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventResponseReceived, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventResponseReceived, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventResponseReceived> for CdpEvent
impl From<EventResponseReceived> for CdpEvent
Source§fn from(el: EventResponseReceived) -> CdpEvent
fn from(el: EventResponseReceived) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventResponseReceived
impl IntoEventKind for EventResponseReceived
Source§fn event_kind() -> EventKindwhere
EventResponseReceived: Sized + 'static,
fn event_kind() -> EventKindwhere
EventResponseReceived: Sized + 'static,
What kind of event this type is
Source§impl Method for EventResponseReceived
impl Method for EventResponseReceived
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl MethodType for EventResponseReceived
impl MethodType for EventResponseReceived
Source§impl PartialEq for EventResponseReceived
impl PartialEq for EventResponseReceived
Source§impl Serialize for EventResponseReceived
impl Serialize for EventResponseReceived
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<CdpEvent> for EventResponseReceived
impl TryFrom<CdpEvent> for EventResponseReceived
impl StructuralPartialEq for EventResponseReceived
Auto Trait Implementations§
impl Freeze for EventResponseReceived
impl RefUnwindSafe for EventResponseReceived
impl Send for EventResponseReceived
impl Sync for EventResponseReceived
impl Unpin for EventResponseReceived
impl UnwindSafe for EventResponseReceived
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more