nomad_client_rs/models/
allocated_shared_resources.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct AllocatedSharedResources {
5    #[serde(rename = "DiskMB", skip_serializing_if = "Option::is_none")]
6    pub disk_mb: Option<i64>,
7    #[serde(rename = "Networks", skip_serializing_if = "Option::is_none")]
8    pub networks: Option<Vec<crate::models::NetworkResource>>,
9    #[serde(rename = "Ports", skip_serializing_if = "Option::is_none")]
10    pub ports: Option<Vec<crate::models::PortMapping>>,
11}