reorder serde usage/derive

this is deprecated with rustc 1.52+, and will become a hard error at
some point:

https://github.com/rust-lang/rust/issues/79202

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2021-05-31 14:53:08 +02:00
parent 0bca966ec5
commit 3e3b505cc8
7 changed files with 11 additions and 11 deletions

View File

@ -61,8 +61,8 @@ use crate::{
},
};
#[serde(rename_all = "kebab-case")]
#[derive(Serialize, Deserialize)]
#[serde(rename_all = "kebab-case")]
/// Represents the State of a specific Job
pub enum JobState {
/// A job was created at 'time', but never started/finished