diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-19 12:19:38 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-19 14:55:15 -0800 |
commit | 40b5d40bed9e20e5c7a40d1741601a8317e078d8 (patch) | |
tree | 67c46917c2d2be2dc4d30543656a39ca5a3c014e /rust/fatcat-openapi/src/models.rs | |
parent | ba4a85cf2ee51d775137541944e2e9d24b2e1bc9 (diff) | |
download | fatcat-40b5d40bed9e20e5c7a40d1741601a8317e078d8.tar.gz fatcat-40b5d40bed9e20e5c7a40d1741601a8317e078d8.zip |
codegen rust schema crate
Diffstat (limited to 'rust/fatcat-openapi/src/models.rs')
-rw-r--r-- | rust/fatcat-openapi/src/models.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/fatcat-openapi/src/models.rs b/rust/fatcat-openapi/src/models.rs index c539339e..965caacf 100644 --- a/rust/fatcat-openapi/src/models.rs +++ b/rust/fatcat-openapi/src/models.rs @@ -1240,6 +1240,11 @@ pub struct ReleaseExtIds { #[serde(rename = "dblp")] #[serde(skip_serializing_if = "Option::is_none")] pub dblp: Option<String>, + + /// OAI-PMH identifier; only used when an OAI-PMH record is the only authoritative metadata (eg, journal OAI-PMH feeds w/o DOIs) + #[serde(rename = "oai")] + #[serde(skip_serializing_if = "Option::is_none")] + pub oai: Option<String>, } impl ReleaseExtIds { @@ -1257,6 +1262,7 @@ impl ReleaseExtIds { mag: None, doaj: None, dblp: None, + oai: None, } } } |