web_sys/features/
gen_RtcCertificate.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "::js_sys::Object",
9 js_name = "RTCCertificate",
10 typescript_type = "RTCCertificate"
11 )]
12 #[derive(Debug, Clone, PartialEq, Eq)]
13 #[doc = "The `RtcCertificate` class."]
14 #[doc = ""]
15 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate)"]
16 #[doc = ""]
17 #[doc = "*This API requires the following crate features to be activated: `RtcCertificate`*"]
18 pub type RtcCertificate;
19 #[wasm_bindgen(method, getter, js_class = "RTCCertificate", js_name = "expires")]
20 #[doc = "Getter for the `expires` field of this object."]
21 #[doc = ""]
22 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate/expires)"]
23 #[doc = ""]
24 #[doc = "*This API requires the following crate features to be activated: `RtcCertificate`*"]
25 pub fn expires(this: &RtcCertificate) -> f64;
26}