nomad_client_rs/models/
consul_gateway_tls_config.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct ConsulGatewayTlsConfig {
5    #[serde(rename = "CipherSuites", skip_serializing_if = "Option::is_none")]
6    pub cipher_suites: Option<Vec<String>>,
7    #[serde(rename = "Enabled", skip_serializing_if = "Option::is_none")]
8    pub enabled: Option<bool>,
9    #[serde(rename = "TLSMaxVersion", skip_serializing_if = "Option::is_none")]
10    pub tls_max_version: Option<String>,
11    #[serde(rename = "TLSMinVersion", skip_serializing_if = "Option::is_none")]
12    pub tls_min_version: Option<String>,
13}