web_sys/features/
gen_AuthenticationExtensionsLargeBlobInputs.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AuthenticationExtensionsLargeBlobInputs)]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `AuthenticationExtensionsLargeBlobInputs` dictionary."]
10 #[doc = ""]
11 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
12 pub type AuthenticationExtensionsLargeBlobInputs;
13 #[doc = "Get the `read` field of this object."]
14 #[doc = ""]
15 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
16 #[wasm_bindgen(method, getter = "read")]
17 pub fn get_read(this: &AuthenticationExtensionsLargeBlobInputs) -> Option<bool>;
18 #[doc = "Change the `read` field of this object."]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
21 #[wasm_bindgen(method, setter = "read")]
22 pub fn set_read(this: &AuthenticationExtensionsLargeBlobInputs, val: bool);
23 #[doc = "Get the `support` field of this object."]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
26 #[wasm_bindgen(method, getter = "support")]
27 pub fn get_support(
28 this: &AuthenticationExtensionsLargeBlobInputs,
29 ) -> Option<::alloc::string::String>;
30 #[doc = "Change the `support` field of this object."]
31 #[doc = ""]
32 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
33 #[wasm_bindgen(method, setter = "support")]
34 pub fn set_support(this: &AuthenticationExtensionsLargeBlobInputs, val: &str);
35 #[doc = "Get the `write` field of this object."]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
38 #[wasm_bindgen(method, getter = "write")]
39 pub fn get_write(this: &AuthenticationExtensionsLargeBlobInputs) -> Option<::js_sys::Object>;
40 #[doc = "Change the `write` field of this object."]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
43 #[wasm_bindgen(method, setter = "write")]
44 pub fn set_write(this: &AuthenticationExtensionsLargeBlobInputs, val: &::js_sys::Object);
45}
46impl AuthenticationExtensionsLargeBlobInputs {
47 #[doc = "Construct a new `AuthenticationExtensionsLargeBlobInputs`."]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
50 pub fn new() -> Self {
51 #[allow(unused_mut)]
52 let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
53 ret
54 }
55 #[deprecated = "Use `set_read()` instead."]
56 pub fn read(&mut self, val: bool) -> &mut Self {
57 self.set_read(val);
58 self
59 }
60 #[deprecated = "Use `set_support()` instead."]
61 pub fn support(&mut self, val: &str) -> &mut Self {
62 self.set_support(val);
63 self
64 }
65 #[deprecated = "Use `set_write()` instead."]
66 pub fn write(&mut self, val: &::js_sys::Object) -> &mut Self {
67 self.set_write(val);
68 self
69 }
70}
71impl Default for AuthenticationExtensionsLargeBlobInputs {
72 fn default() -> Self {
73 Self::new()
74 }
75}