You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
303 B
Rust
15 lines
303 B
Rust
3 years ago
|
use serde::{Deserialize, Serialize};
|
||
|
|
||
|
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||
|
pub struct RunJobRequest {
|
||
|
pub job_type: JobType,
|
||
|
pub sync: bool,
|
||
|
}
|
||
|
|
||
|
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||
|
pub enum JobType {
|
||
|
MigrateContentDescriptors,
|
||
|
CalculateSizes,
|
||
|
CheckIntegrity,
|
||
|
}
|