node_sys/interface/
process_release.rs

1use js_sys::JsString;
2use wasm_bindgen::prelude::*;
3
4#[wasm_bindgen]
5extern {
6    pub type ProcessRelease;
7
8    #[wasm_bindgen(method, getter)]
9    pub fn name(this: &ProcessRelease) -> JsString;
10
11    #[wasm_bindgen(method, getter, js_name = "sourceUrl")]
12    pub fn source_url(this: &ProcessRelease) -> Option<JsString>;
13
14    #[wasm_bindgen(method, getter, js_name = "headersUrl")]
15    pub fn headers_url(this: &ProcessRelease) -> Option<JsString>;
16
17    #[wasm_bindgen(method, getter, js_name = "libUrl")]
18    pub fn lib_url(this: &ProcessRelease) -> Option<JsString>;
19
20    #[wasm_bindgen(method, getter)]
21    pub fn lts(this: &ProcessRelease) -> Option<JsString>;
22}