From 8e3038e55282088825a1243a34f2d9f7d25e5533 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 10 May 2019 11:50:05 -0700 Subject: impl withdrawn_status --- rust/fatcat-api-spec/src/models.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/fatcat-api-spec/src') 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, - #[serde(rename = "withdrawn_state")] + #[serde(rename = "withdrawn_status")] #[serde(skip_serializing_if = "Option::is_none")] - pub withdrawn_state: Option, + pub withdrawn_status: Option, #[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, -- cgit v1.2.3