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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// PortBinding represents a binding between a Host IP address and a Host Port
pub struct PortBinding {
    /// HostIP is the host IP Address
    #[serde(rename = "HostIp")]
    pub host_ip: Option<String>,
    /// HostPort is the host port number
    #[serde(rename = "HostPort")]
    pub host_port: Option<String>,
}