wip: allow addressComponents inspectable (toJSON)

This commit is contained in:
Tomáš Mládek 2023-06-28 18:36:24 +02:00
parent ee5d50ee48
commit 3ede48236c

View file

@ -19,7 +19,7 @@ pub enum Address {
Url(Url), Url(Url),
} }
#[cfg_attr(feature = "wasm", wasm_bindgen(getter_with_clone))] #[cfg_attr(feature = "wasm", wasm_bindgen(getter_with_clone, inspectable))]
#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)] #[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct AddressComponents { pub struct AddressComponents {
pub t: String, pub t: String,