Rename 'update_type' to 'type' on EnqueuedUpdateResult

This commit is contained in:
qdequele 2019-11-29 15:09:48 +01:00
parent 7923752513
commit 773a51e7d0
No known key found for this signature in database
GPG Key ID: B3F0A000EBF11745

View File

@ -188,6 +188,7 @@ pub struct ProcessedUpdateResult {
#[serde(rename_all = "camelCase")]
pub struct EnqueuedUpdateResult {
pub update_id: u64,
#[serde(rename = "type")]
pub update_type: UpdateType,
pub enqueued_at: DateTime<Utc>,
}