nomad_client_rs/models/ephemeral_disk.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct EphemeralDisk {
5 #[serde(rename = "Migrate", skip_serializing_if = "Option::is_none")]
6 pub migrate: Option<bool>,
7 #[serde(rename = "SizeMB", skip_serializing_if = "Option::is_none")]
8 pub size_mb: Option<i32>,
9 #[serde(rename = "Sticky", skip_serializing_if = "Option::is_none")]
10 pub sticky: Option<bool>,
11}