podman_rest_client/v5/models/port_binding.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// PortBinding represents a binding between a Host IP address and a Host Port
4pub struct PortBinding {
5 /// HostIP is the host IP Address
6 #[serde(rename = "HostIp")]
7 pub host_ip: Option<String>,
8 /// HostPort is the host port number
9 #[serde(rename = "HostPort")]
10 pub host_port: Option<String>,
11}