summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-10 11:50:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-10 11:50:05 -0700
commit8e3038e55282088825a1243a34f2d9f7d25e5533 (patch)
tree5b92276aed6f5b16b95abd57235a2a6ead46c945 /rust/fatcat-api-spec/src/models.rs
parent2fafc86c3439b88de8b7704f5f0d68d6a48842e2 (diff)
downloadfatcat-8e3038e55282088825a1243a34f2d9f7d25e5533.tar.gz
fatcat-8e3038e55282088825a1243a34f2d9f7d25e5533.zip
impl withdrawn_status
Diffstat (limited to 'rust/fatcat-api-spec/src/models.rs')
-rw-r--r--rust/fatcat-api-spec/src/models.rs6
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,