nomad_client_rs/models/
task_artifact.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct TaskArtifact {
5    #[serde(rename = "GetterHeaders", skip_serializing_if = "Option::is_none")]
6    pub getter_headers: Option<::std::collections::HashMap<String, String>>,
7    #[serde(rename = "GetterMode", skip_serializing_if = "Option::is_none")]
8    pub getter_mode: Option<String>,
9    #[serde(rename = "GetterOptions", skip_serializing_if = "Option::is_none")]
10    pub getter_options: Option<::std::collections::HashMap<String, String>>,
11    #[serde(rename = "GetterSource", skip_serializing_if = "Option::is_none")]
12    pub getter_source: Option<String>,
13    #[serde(rename = "RelativeDest", skip_serializing_if = "Option::is_none")]
14    pub relative_dest: Option<String>,
15}