podman-rest-client 0.13.0

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