nomad_client_rs/models/
task_csi_plugin_config.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct TaskCsiPluginConfig {
5    #[serde(rename = "HealthTimeout", skip_serializing_if = "Option::is_none")]
6    pub health_timeout: Option<i64>,
7    #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
8    pub id: Option<String>,
9    #[serde(rename = "MountDir", skip_serializing_if = "Option::is_none")]
10    pub mount_dir: Option<String>,
11    #[serde(
12        rename = "StagePublishBaseDir",
13        skip_serializing_if = "Option::is_none"
14    )]
15    pub stage_publish_base_dir: Option<String>,
16    #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
17    pub _type: Option<String>,
18}