nomad_client_rs/models/
port.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct Port {
5 #[serde(rename = "HostNetwork", skip_serializing_if = "Option::is_none")]
6 pub host_network: Option<String>,
7 #[serde(rename = "Label", skip_serializing_if = "Option::is_none")]
8 pub label: Option<String>,
9 #[serde(rename = "To", skip_serializing_if = "Option::is_none")]
10 pub to: Option<i32>,
11 #[serde(rename = "Value", skip_serializing_if = "Option::is_none")]
12 pub value: Option<i32>,
13}