1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct SnapshotScheduleCreateParams { /// Alias name to create for each snapshot. #[serde(rename = "alias")] pub alias: Option<String>, /// Time in seconds added to creation time to construction expiration time. #[serde(rename = "duration")] pub duration: Option<i32>, /// The schedule name. #[serde(rename = "name")] pub name: String, /// The /ifs path snapshotted. #[serde(rename = "path")] pub path: String, /// Pattern expanded with strftime to create snapshot names. #[serde(rename = "pattern")] pub pattern: String, /// The isidate compatible natural language description of the schedule. #[serde(rename = "schedule")] pub schedule: String, }