podman_rest_client/v5/models/inspect_host_port.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectHostPort provides information on a port on the host that a container's
4/// port is bound to.
5pub struct InspectHostPort {
6 /// IP on the host we are bound to. "" if not specified (binding to all
7 /// IPs).
8 #[serde(rename = "HostIp")]
9 pub host_ip: Option<String>,
10 /// Port on the host we are bound to. No special formatting - just an
11 /// integer stuffed into a string.
12 #[serde(rename = "HostPort")]
13 pub host_port: Option<String>,
14}