1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct SnapshotAliasExtended { /// The Unix Epoch time the snapshot alias was created. #[serde(rename = "created")] pub created: i32, /// The system ID given to the snapshot alias. #[serde(rename = "id")] pub id: i32, /// The user or system supplied snapshot alias name. #[serde(rename = "name")] pub name: String, /// The ID of the snapshot pointed to. #[serde(rename = "target_id")] pub target_id: i32, /// The name of the snapshot pointed to. #[serde(rename = "target_name")] pub target_name: String, }