summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api/src/models.rs')
-rw-r--r--rust/fatcat-api/src/models.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index dc9a103f..989c73f2 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -1,5 +1,6 @@
#![allow(unused_imports, unused_qualifications, unused_extern_crates)]
extern crate chrono;
+extern crate serde_json;
extern crate uuid;
use serde::ser::Serializer;
@@ -201,7 +202,7 @@ pub struct Editgroup {
#[serde(rename = "extra")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub extra: Option<HashMap<String, String>>,
+ pub extra: Option<serde_json::Value>,
}
impl Editgroup {