nomad_client_rs/models/
consul_connect.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct ConsulConnect {
5    #[serde(rename = "Gateway", skip_serializing_if = "Option::is_none")]
6    pub gateway: Option<crate::models::ConsulGateway>,
7    #[serde(rename = "Native", skip_serializing_if = "Option::is_none")]
8    pub native: Option<bool>,
9    #[serde(rename = "SidecarService", skip_serializing_if = "Option::is_none")]
10    pub sidecar_service: Option<crate::models::ConsulSidecarService>,
11    #[serde(rename = "SidecarTask", skip_serializing_if = "Option::is_none")]
12    pub sidecar_task: Option<crate::models::SidecarTask>,
13}