aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-14 18:43:07 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-14 18:43:07 -0700
commit8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe (patch)
tree197618e5b1f03bb292d5b32321d52932f72306c4 /rust/fatcat-api-spec/src
parent534cd7b3fa0a4cb0c19da05f740942b93e8b3659 (diff)
downloadfatcat-8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe.tar.gz
fatcat-8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe.zip
codegen and rust impl created timestamp
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 ce559ccc..0ceed261 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -274,6 +274,10 @@ pub struct Editgroup {
#[serde(skip_serializing_if = "Option::is_none")]
pub changelog_index: Option<i64>,
+ #[serde(rename = "created")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub created: Option<chrono::DateTime<chrono::Utc>>,
+
#[serde(rename = "submitted")]
#[serde(skip_serializing_if = "Option::is_none")]
pub submitted: Option<chrono::DateTime<chrono::Utc>>,
@@ -302,6 +306,7 @@ impl Editgroup {
editor_id: None,
editor: None,
changelog_index: None,
+ created: None,
submitted: None,
description: None,
extra: None,