nomad_client_rs/models/
consul_linked_service.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct ConsulLinkedService {
5 #[serde(rename = "CAFile", skip_serializing_if = "Option::is_none")]
6 pub ca_file: Option<String>,
7 #[serde(rename = "CertFile", skip_serializing_if = "Option::is_none")]
8 pub cert_file: Option<String>,
9 #[serde(rename = "KeyFile", skip_serializing_if = "Option::is_none")]
10 pub key_file: Option<String>,
11 #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
12 pub name: Option<String>,
13 #[serde(rename = "SNI", skip_serializing_if = "Option::is_none")]
14 pub sni: Option<String>,
15}