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
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// NetAddress contains the ip address, subnet and gateway.
pub struct NetAddress {
    /// Gateway for the network. This can be empty if there is no gateway, e.g. internal network.
    pub gateway: Option<String>,
    pub ipnet: Option<crate::v5::models::IpNet>,
}