diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 15:14:32 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 15:14:32 -0800 |
commit | d7a4e4649e1da2c02ec8472173c79f7c708ce19b (patch) | |
tree | b3b02f3ac7e652771a0e8485a180ff82b8e0f75f /rust/fatcat-api-spec/src | |
parent | b755695a38689258ccd99e98d0a737a233cf9874 (diff) | |
download | fatcat-d7a4e4649e1da2c02ec8472173c79f7c708ce19b.tar.gz fatcat-d7a4e4649e1da2c02ec8472173c79f7c708ce19b.zip |
codegen release_year
Diffstat (limited to 'rust/fatcat-api-spec/src')
-rw-r--r-- | rust/fatcat-api-spec/src/models.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs index 5b9010cd..b8bd9a70 100644 --- a/rust/fatcat-api-spec/src/models.rs +++ b/rust/fatcat-api-spec/src/models.rs @@ -538,6 +538,10 @@ pub struct ReleaseEntity { #[serde(skip_serializing_if = "Option::is_none")] pub doi: Option<String>, + #[serde(rename = "release_year")] + #[serde(skip_serializing_if = "Option::is_none")] + pub release_year: Option<i64>, + #[serde(rename = "release_date")] #[serde(skip_serializing_if = "Option::is_none")] pub release_date: Option<chrono::NaiveDate>, @@ -619,6 +623,7 @@ impl ReleaseEntity { isbn13: None, wikidata_qid: None, doi: None, + release_year: None, release_date: None, release_status: None, release_type: None, |