nomad_client_rs/models/
consul_gateway.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct ConsulGateway {
5    #[serde(rename = "Ingress", skip_serializing_if = "Option::is_none")]
6    pub ingress: Option<crate::models::ConsulIngressConfigEntry>,
7    #[serde(rename = "Mesh", skip_serializing_if = "Option::is_none")]
8    pub mesh: Option<serde_json::Value>,
9    #[serde(rename = "Proxy", skip_serializing_if = "Option::is_none")]
10    pub proxy: Option<crate::models::ConsulGatewayProxy>,
11    #[serde(rename = "Terminating", skip_serializing_if = "Option::is_none")]
12    pub terminating: Option<crate::models::ConsulTerminatingConfigEntry>,
13}