nomad_client_rs/models/allocated_resources.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct AllocatedResources {
5 #[serde(rename = "Shared", skip_serializing_if = "Option::is_none")]
6 pub shared: Option<crate::models::AllocatedSharedResources>,
7 #[serde(rename = "Tasks", skip_serializing_if = "Option::is_none")]
8 pub tasks: Option<::std::collections::HashMap<String, crate::models::AllocatedTaskResources>>,
9}