pub struct ResponseReceivedEvent { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Fired when HTTP response is available.
Implementations§
Source§impl ResponseReceivedEvent
impl ResponseReceivedEvent
pub fn builder() -> ResponseReceivedEventBuilder
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Request identifier.
Sourcepub fn loader_id(&self) -> &LoaderId
pub fn loader_id(&self) -> &LoaderId
Loader identifier. Empty string if the request is fetched from worker.
Sourcepub fn timestamp(&self) -> &MonotonicTime
pub fn timestamp(&self) -> &MonotonicTime
Timestamp.
Sourcepub fn type(&self) -> &ResourceType
pub fn type(&self) -> &ResourceType
Resource type.
Trait Implementations§
Source§impl Clone for ResponseReceivedEvent
impl Clone for ResponseReceivedEvent
Source§fn clone(&self) -> ResponseReceivedEvent
fn clone(&self) -> ResponseReceivedEvent
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 ResponseReceivedEvent
impl Debug for ResponseReceivedEvent
Source§impl<'de> Deserialize<'de> for ResponseReceivedEvent
impl<'de> Deserialize<'de> for ResponseReceivedEvent
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
Auto Trait Implementations§
impl Freeze for ResponseReceivedEvent
impl RefUnwindSafe for ResponseReceivedEvent
impl Send for ResponseReceivedEvent
impl Sync for ResponseReceivedEvent
impl Unpin for ResponseReceivedEvent
impl UnwindSafe for ResponseReceivedEvent
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