pub struct ResourceTiming {Show 13 fields
pub request_time: f64,
pub proxy_start: f64,
pub proxy_end: f64,
pub dns_start: f64,
pub dns_end: f64,
pub connect_start: f64,
pub connect_end: f64,
pub ssl_start: f64,
pub ssl_end: f64,
pub send_start: f64,
pub send_end: f64,
pub receive_headers_start: Option<f64>,
pub receive_headers_end: Option<f64>,
}Expand description
Timing information for the request.
Fields§
§request_time: f64Timing’s requestTime is a baseline in seconds.
proxy_start: f64Started resolving proxy.
proxy_end: f64Finished resolving proxy.
dns_start: f64Started DNS address resolve.
dns_end: f64Finished DNS address resolve.
connect_start: f64Started connecting to the remote host.
connect_end: f64Connected to the remote host.
ssl_start: f64Started SSL handshake.
ssl_end: f64Finished SSL handshake.
send_start: f64Started sending request.
send_end: f64Finished sending request.
receive_headers_start: Option<f64>Started receiving response headers.
receive_headers_end: Option<f64>Finished receiving response headers.
Trait Implementations§
Source§impl Clone for ResourceTiming
impl Clone for ResourceTiming
Source§fn clone(&self) -> ResourceTiming
fn clone(&self) -> ResourceTiming
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 ResourceTiming
impl Debug for ResourceTiming
Source§impl<'de> Deserialize<'de> for ResourceTiming
impl<'de> Deserialize<'de> for ResourceTiming
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 ResourceTiming
impl RefUnwindSafe for ResourceTiming
impl Send for ResourceTiming
impl Sync for ResourceTiming
impl Unpin for ResourceTiming
impl UnwindSafe for ResourceTiming
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