diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-10 11:50:05 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-10 11:50:05 -0700 |
commit | 8e3038e55282088825a1243a34f2d9f7d25e5533 (patch) | |
tree | 5b92276aed6f5b16b95abd57235a2a6ead46c945 /rust/fatcat-api-spec/src | |
parent | 2fafc86c3439b88de8b7704f5f0d68d6a48842e2 (diff) | |
download | fatcat-8e3038e55282088825a1243a34f2d9f7d25e5533.tar.gz fatcat-8e3038e55282088825a1243a34f2d9f7d25e5533.zip |
impl withdrawn_status
Diffstat (limited to 'rust/fatcat-api-spec/src')
-rw-r--r-- | rust/fatcat-api-spec/src/models.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs index f4ac0e3e..bf989b84 100644 --- a/rust/fatcat-api-spec/src/models.rs +++ b/rust/fatcat-api-spec/src/models.rs @@ -840,9 +840,9 @@ pub struct ReleaseEntity { #[serde(skip_serializing_if = "Option::is_none")] pub withdrawn_date: Option<chrono::NaiveDate>, - #[serde(rename = "withdrawn_state")] + #[serde(rename = "withdrawn_status")] #[serde(skip_serializing_if = "Option::is_none")] - pub withdrawn_state: Option<String>, + pub withdrawn_status: Option<String>, #[serde(rename = "release_year")] #[serde(skip_serializing_if = "Option::is_none")] @@ -958,7 +958,7 @@ impl ReleaseEntity { doi: None, withdrawn_year: None, withdrawn_date: None, - withdrawn_state: None, + withdrawn_status: None, release_year: None, release_date: None, release_stage: None, |