aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 15:58:22 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 15:58:22 -0800
commite93fe289d584f5bb1d8fca7fd3f476113104b411 (patch)
tree0df9eaf68522a85b5d8c584a2a6f670a2c0330b1 /rust/fatcat-api-spec/src
parent3733c096fc2ff837ad28ed487ef9cccff4d1e1ed (diff)
downloadfatcat-e93fe289d584f5bb1d8fca7fd3f476113104b411.tar.gz
fatcat-e93fe289d584f5bb1d8fca7fd3f476113104b411.zip
allow returning changelog index with editgroup
Diffstat (limited to 'rust/fatcat-api-spec/src')
-rw-r--r--rust/fatcat-api-spec/src/models.rs5
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 1738662b..5d05b737 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -238,6 +238,10 @@ pub struct Editgroup {
#[serde(skip_serializing_if = "Option::is_none")]
pub editor: Option<models::Editor>,
+ #[serde(rename = "changelog_index")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub changelog_index: Option<i64>,
+
#[serde(rename = "submitted")]
#[serde(skip_serializing_if = "Option::is_none")]
pub submitted: Option<chrono::DateTime<chrono::Utc>>,
@@ -265,6 +269,7 @@ impl Editgroup {
editgroup_id: None,
editor_id: None,
editor: None,
+ changelog_index: None,
submitted: None,
description: None,
extra: None,