nomad_client_rs/models/
job_acl.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct JobAcl {
5    #[serde(rename = "Group", skip_serializing_if = "Option::is_none")]
6    pub group: Option<String>,
7    #[serde(rename = "JobID", skip_serializing_if = "Option::is_none")]
8    pub job_id: Option<String>,
9    #[serde(rename = "Namespace", skip_serializing_if = "Option::is_none")]
10    pub namespace: Option<String>,
11    #[serde(rename = "Task", skip_serializing_if = "Option::is_none")]
12    pub task: Option<String>,
13}