nomad_client_rs/models/
namespace_capabilities.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct NamespaceCapabilities {
5    #[serde(
6        rename = "DisabledTaskDrivers",
7        skip_serializing_if = "Option::is_none"
8    )]
9    pub disabled_task_drivers: Option<Vec<String>>,
10    #[serde(rename = "EnabledTaskDrivers", skip_serializing_if = "Option::is_none")]
11    pub enabled_task_drivers: Option<Vec<String>>,
12}