[][src]Struct web_sys::PerformanceResourceTiming

#[repr(transparent)]
pub struct PerformanceResourceTiming { /* fields omitted */ }

The PerformanceResourceTiming object

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

Methods

impl PerformanceResourceTiming[src]

pub fn to_json(&self) -> Object[src]

The toJSON() method

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn initiator_type(&self) -> String[src]

The initiatorType getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn next_hop_protocol(&self) -> String[src]

The nextHopProtocol getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn worker_start(&self) -> f64[src]

The workerStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn redirect_start(&self) -> f64[src]

The redirectStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn redirect_end(&self) -> f64[src]

The redirectEnd getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn fetch_start(&self) -> f64[src]

The fetchStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn domain_lookup_start(&self) -> f64[src]

The domainLookupStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn domain_lookup_end(&self) -> f64[src]

The domainLookupEnd getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn connect_start(&self) -> f64[src]

The connectStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn connect_end(&self) -> f64[src]

The connectEnd getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn secure_connection_start(&self) -> f64[src]

The secureConnectionStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn request_start(&self) -> f64[src]

The requestStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn response_start(&self) -> f64[src]

The responseStart getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn response_end(&self) -> f64[src]

The responseEnd getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn transfer_size(&self) -> f64[src]

The transferSize getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn encoded_body_size(&self) -> f64[src]

The encodedBodySize getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn decoded_body_size(&self) -> f64[src]

The decodedBodySize getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

impl PerformanceResourceTiming[src]

pub fn server_timing(&self) -> Array[src]

The serverTiming getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceResourceTiming

Methods from Deref<Target = PerformanceEntry>

pub fn to_json(&self) -> Object[src]

The toJSON() method

MDN Documentation

This API requires the following crate features to be activated: PerformanceEntry

pub fn name(&self) -> String[src]

The name getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceEntry

pub fn entry_type(&self) -> String[src]

The entryType getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceEntry

pub fn start_time(&self) -> f64[src]

The startTime getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceEntry

pub fn duration(&self) -> f64[src]

The duration getter

MDN Documentation

This API requires the following crate features to be activated: PerformanceEntry

Trait Implementations

impl AsRef<JsValue> for PerformanceResourceTiming[src]

impl AsRef<Object> for PerformanceResourceTiming[src]

impl AsRef<PerformanceEntry> for PerformanceResourceTiming[src]

impl AsRef<PerformanceResourceTiming> for PerformanceNavigationTiming[src]

impl AsRef<PerformanceResourceTiming> for PerformanceResourceTiming[src]

impl Clone for PerformanceResourceTiming[src]

impl Debug for PerformanceResourceTiming[src]

impl Deref for PerformanceResourceTiming[src]

type Target = PerformanceEntry

The resulting type after dereferencing.

impl Eq for PerformanceResourceTiming[src]

impl From<JsValue> for PerformanceResourceTiming[src]

impl From<PerformanceNavigationTiming> for PerformanceResourceTiming[src]

impl From<PerformanceResourceTiming> for JsValue[src]

impl From<PerformanceResourceTiming> for PerformanceEntry[src]

impl From<PerformanceResourceTiming> for Object[src]

impl FromWasmAbi for PerformanceResourceTiming[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for PerformanceResourceTiming[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a PerformanceResourceTiming[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for PerformanceResourceTiming[src]

impl OptionFromWasmAbi for PerformanceResourceTiming[src]

impl OptionIntoWasmAbi for PerformanceResourceTiming[src]

impl<'a> OptionIntoWasmAbi for &'a PerformanceResourceTiming[src]

impl PartialEq<PerformanceResourceTiming> for PerformanceResourceTiming[src]

impl RefFromWasmAbi for PerformanceResourceTiming[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PerformanceResourceTiming>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for PerformanceResourceTiming[src]

impl StructuralPartialEq for PerformanceResourceTiming[src]

impl WasmDescribe for PerformanceResourceTiming[src]

Auto Trait Implementations

impl RefUnwindSafe for PerformanceResourceTiming

impl !Send for PerformanceResourceTiming

impl !Sync for PerformanceResourceTiming

impl Unpin for PerformanceResourceTiming

impl UnwindSafe for PerformanceResourceTiming

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.