1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct SnapshotSnapshot { /// Alias name to create for this snapshot. If null, remove any alias. #[serde(rename = "alias")] pub alias: Option<String>, /// The Unix Epoch time the snapshot will expire and be eligible for automatic deletion. #[serde(rename = "expires")] pub expires: Option<i32>, /// The user or system supplied snapshot name. This will be null for snapshots pending delete. #[serde(rename = "name")] pub name: Option<String>, }