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 #[doc = "Change the `write` field of this object."]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
48 #[wasm_bindgen(method, setter = "write")]
49 pub fn set_write_buffer_source(
50 this: &AuthenticationExtensionsLargeBlobInputs,
51 val: &::js_sys::Object,
52 );
53 #[doc = "Change the `write` field of this object."]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
56 #[wasm_bindgen(method, setter = "write")]
57 pub fn set_write_u8_slice(this: &AuthenticationExtensionsLargeBlobInputs, val: &mut [u8]);
58 #[doc = "Change the `write` field of this object."]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
61 #[wasm_bindgen(method, setter = "write")]
62 pub fn set_write_u8_array(
63 this: &AuthenticationExtensionsLargeBlobInputs,
64 val: &::js_sys::Uint8Array,
65 );
66}
67impl AuthenticationExtensionsLargeBlobInputs {
68 #[doc = "Construct a new `AuthenticationExtensionsLargeBlobInputs`."]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `AuthenticationExtensionsLargeBlobInputs`*"]
71 pub fn new() -> Self {
72 #[allow(unused_mut)]
73 let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
74 ret
75 }
76 #[deprecated = "Use `set_read()` instead."]
77 pub fn read(&mut self, val: bool) -> &mut Self {
78 self.set_read(val);
79 self
80 }
81 #[deprecated = "Use `set_support()` instead."]
82 pub fn support(&mut self, val: &str) -> &mut Self {
83 self.set_support(val);
84 self
85 }
86 #[deprecated = "Use `set_write()` instead."]
87 pub fn write(&mut self, val: &::js_sys::Object) -> &mut Self {
88 self.set_write(val);
89 self
90 }
91}
92impl Default for AuthenticationExtensionsLargeBlobInputs {
93 fn default() -> Self {
94 Self::new()
95 }
96}