nomad_client_rs/models/allocated_memory_resources.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct AllocatedMemoryResources {
5 #[serde(rename = "MemoryMB", skip_serializing_if = "Option::is_none")]
6 pub memory_mb: Option<i64>,
7 #[serde(rename = "MemoryMaxMB", skip_serializing_if = "Option::is_none")]
8 pub memory_max_mb: Option<i64>,
9}