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