verify job cleanup: use Updater/flatten

This commit is contained in:
Dietmar Maurer
2021-09-08 08:40:32 +02:00
parent 5bd77f00e2
commit ffa403b5fd
2 changed files with 26 additions and 67 deletions

View File

@ -175,11 +175,12 @@ pub const VERIFICATION_OUTDATED_AFTER_SCHEMA: Schema = IntegerSchema::new(
},
}
)]
#[derive(Serialize,Deserialize)]
#[derive(Serialize,Deserialize,Updater)]
#[serde(rename_all="kebab-case")]
/// Verification Job
pub struct VerificationJobConfig {
/// unique ID to address this job
#[updater(skip)]
pub id: String,
/// the datastore ID this verificaiton job affects
pub store: String,