diff options
Diffstat (limited to 'rust/fatcat-api/src/models.rs')
-rw-r--r-- | rust/fatcat-api/src/models.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs index f33ed9db..94edf5c0 100644 --- a/rust/fatcat-api/src/models.rs +++ b/rust/fatcat-api/src/models.rs @@ -282,16 +282,16 @@ pub struct EntityHistoryEntry { #[serde(rename = "editgroup")] pub editgroup: models::Editgroup, - #[serde(rename = "changelog")] - pub changelog: models::ChangelogEntry, + #[serde(rename = "changelog_entry")] + pub changelog_entry: models::ChangelogEntry, } impl EntityHistoryEntry { - pub fn new(edit: models::EntityEdit, editgroup: models::Editgroup, changelog: models::ChangelogEntry) -> EntityHistoryEntry { + pub fn new(edit: models::EntityEdit, editgroup: models::Editgroup, changelog_entry: models::ChangelogEntry) -> EntityHistoryEntry { EntityHistoryEntry { edit: edit, editgroup: editgroup, - changelog: changelog, + changelog_entry: changelog_entry, } } } |