[−][src]Struct web_sys::PerformanceResourceTiming
The PerformanceResourceTiming class.
This API requires the following crate features to be activated: PerformanceResourceTiming
Methods
impl PerformanceResourceTiming[src]
pub fn initiator_type(&self) -> String[src]
Getter for the initiatorType field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn next_hop_protocol(&self) -> String[src]
Getter for the nextHopProtocol field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn worker_start(&self) -> f64[src]
Getter for the workerStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn redirect_start(&self) -> f64[src]
Getter for the redirectStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn redirect_end(&self) -> f64[src]
Getter for the redirectEnd field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn fetch_start(&self) -> f64[src]
Getter for the fetchStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn domain_lookup_start(&self) -> f64[src]
Getter for the domainLookupStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn domain_lookup_end(&self) -> f64[src]
Getter for the domainLookupEnd field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn connect_start(&self) -> f64[src]
Getter for the connectStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn connect_end(&self) -> f64[src]
Getter for the connectEnd field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn secure_connection_start(&self) -> f64[src]
Getter for the secureConnectionStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn request_start(&self) -> f64[src]
Getter for the requestStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn response_start(&self) -> f64[src]
Getter for the responseStart field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn response_end(&self) -> f64[src]
Getter for the responseEnd field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn transfer_size(&self) -> f64[src]
Getter for the transferSize field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn encoded_body_size(&self) -> f64[src]
Getter for the encodedBodySize field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn decoded_body_size(&self) -> f64[src]
Getter for the decodedBodySize field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn server_timing(&self) -> Array[src]
Getter for the serverTiming field of this object.
This API requires the following crate features to be activated: PerformanceResourceTiming
impl PerformanceResourceTiming[src]
pub fn to_json(&self) -> Object[src]
The toJSON() method.
This API requires the following crate features to be activated: PerformanceResourceTiming
Methods from Deref<Target = PerformanceEntry>
pub fn name(&self) -> String[src]
Getter for the name field of this object.
This API requires the following crate features to be activated: PerformanceEntry
pub fn entry_type(&self) -> String[src]
Getter for the entryType field of this object.
This API requires the following crate features to be activated: PerformanceEntry
pub fn start_time(&self) -> f64[src]
Getter for the startTime field of this object.
This API requires the following crate features to be activated: PerformanceEntry
pub fn duration(&self) -> f64[src]
Getter for the duration field of this object.
This API requires the following crate features to be activated: PerformanceEntry
pub fn to_json(&self) -> Object[src]
The toJSON() method.
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]
fn as_ref(&self) -> &PerformanceEntry[src]
impl AsRef<PerformanceResourceTiming> for PerformanceNavigationTiming[src]
fn as_ref(&self) -> &PerformanceResourceTiming[src]
impl AsRef<PerformanceResourceTiming> for PerformanceResourceTiming[src]
fn as_ref(&self) -> &PerformanceResourceTiming[src]
impl Clone for PerformanceResourceTiming[src]
fn clone(&self) -> PerformanceResourceTiming[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PerformanceResourceTiming[src]
impl Deref for PerformanceResourceTiming[src]
type Target = PerformanceEntry
The resulting type after dereferencing.
fn deref(&self) -> &PerformanceEntry[src]
impl Eq for PerformanceResourceTiming[src]
impl From<JsValue> for PerformanceResourceTiming[src]
fn from(obj: JsValue) -> PerformanceResourceTiming[src]
impl From<PerformanceNavigationTiming> for PerformanceResourceTiming[src]
impl From<PerformanceResourceTiming> for JsValue[src]
fn from(obj: PerformanceResourceTiming) -> JsValue[src]
impl From<PerformanceResourceTiming> for PerformanceEntry[src]
fn from(obj: PerformanceResourceTiming) -> PerformanceEntry[src]
impl From<PerformanceResourceTiming> for Object[src]
fn from(obj: PerformanceResourceTiming) -> 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
unsafe fn from_abi(js: Self::Abi) -> Self[src]
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
fn into_abi(self) -> Self::Abi[src]
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
fn into_abi(self) -> Self::Abi[src]
impl JsCast for PerformanceResourceTiming[src]
fn instanceof(val: &JsValue) -> bool[src]
fn unchecked_from_js(val: JsValue) -> Self[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self[src]
fn has_type<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast, [src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast, [src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast, [src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast, [src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool[src]
impl OptionFromWasmAbi for PerformanceResourceTiming[src]
impl OptionIntoWasmAbi for PerformanceResourceTiming[src]
impl<'a> OptionIntoWasmAbi for &'a PerformanceResourceTiming[src]
impl PartialEq<PerformanceResourceTiming> for PerformanceResourceTiming[src]
fn eq(&self, other: &PerformanceResourceTiming) -> bool[src]
fn ne(&self, other: &PerformanceResourceTiming) -> bool[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
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,