web_sys/features/
gen_PerformanceResourceTiming.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = PerformanceEntry , extends = :: js_sys :: Object , js_name = PerformanceResourceTiming , typescript_type = "PerformanceResourceTiming")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `PerformanceResourceTiming` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub type PerformanceResourceTiming;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = initiatorType)]
    #[doc = "Getter for the `initiatorType` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/initiatorType)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn initiator_type(this: &PerformanceResourceTiming) -> ::alloc::string::String;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = nextHopProtocol)]
    #[doc = "Getter for the `nextHopProtocol` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn next_hop_protocol(this: &PerformanceResourceTiming) -> ::alloc::string::String;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = workerStart)]
    #[doc = "Getter for the `workerStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/workerStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn worker_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = redirectStart)]
    #[doc = "Getter for the `redirectStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn redirect_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = redirectEnd)]
    #[doc = "Getter for the `redirectEnd` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/redirectEnd)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn redirect_end(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = fetchStart)]
    #[doc = "Getter for the `fetchStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/fetchStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn fetch_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = domainLookupStart)]
    #[doc = "Getter for the `domainLookupStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn domain_lookup_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = domainLookupEnd)]
    #[doc = "Getter for the `domainLookupEnd` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn domain_lookup_end(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = connectStart)]
    #[doc = "Getter for the `connectStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn connect_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = connectEnd)]
    #[doc = "Getter for the `connectEnd` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/connectEnd)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn connect_end(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = secureConnectionStart)]
    #[doc = "Getter for the `secureConnectionStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn secure_connection_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = requestStart)]
    #[doc = "Getter for the `requestStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/requestStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn request_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = responseStart)]
    #[doc = "Getter for the `responseStart` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseStart)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn response_start(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = responseEnd)]
    #[doc = "Getter for the `responseEnd` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/responseEnd)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn response_end(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = transferSize)]
    #[doc = "Getter for the `transferSize` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/transferSize)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn transfer_size(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = encodedBodySize)]
    #[doc = "Getter for the `encodedBodySize` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/encodedBodySize)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn encoded_body_size(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = decodedBodySize)]
    #[doc = "Getter for the `decodedBodySize` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/decodedBodySize)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn decoded_body_size(this: &PerformanceResourceTiming) -> f64;
    # [wasm_bindgen (structural , method , getter , js_class = "PerformanceResourceTiming" , js_name = serverTiming)]
    #[doc = "Getter for the `serverTiming` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/serverTiming)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn server_timing(this: &PerformanceResourceTiming) -> ::js_sys::Array;
    # [wasm_bindgen (method , structural , js_class = "PerformanceResourceTiming" , js_name = toJSON)]
    #[doc = "The `toJSON()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/toJSON)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `PerformanceResourceTiming`*"]
    pub fn to_json(this: &PerformanceResourceTiming) -> ::js_sys::Object;
}