aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-14 17:13:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-14 17:13:57 -0700
commit39921a6fdf47256b9c2fac67b876795fd0426464 (patch)
tree61c5368a5cfb363a2253d29957f9a9dcfec3835a /rust/fatcat-api/src
parent2bfb6c54519c3442d663ea41d29f88fb31d96fb4 (diff)
downloadfatcat-39921a6fdf47256b9c2fac67b876795fd0426464.tar.gz
fatcat-39921a6fdf47256b9c2fac67b876795fd0426464.zip
trivial implementation of core_id field on releases
Diffstat (limited to 'rust/fatcat-api/src')
-rw-r--r--rust/fatcat-api/src/models.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index 61812dc2..81701b70 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -525,6 +525,10 @@ pub struct ReleaseEntity {
#[serde(skip_serializing_if = "Option::is_none")]
pub pmid: Option<String>,
+ #[serde(rename = "core_id")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub core_id: Option<String>,
+
#[serde(rename = "isbn13")]
#[serde(skip_serializing_if = "Option::is_none")]
pub isbn13: Option<String>,
@@ -610,6 +614,7 @@ impl ReleaseEntity {
wikidata_qid: None,
pmcid: None,
pmid: None,
+ core_id: None,
isbn13: None,
doi: None,
release_date: None,