podman_rest_client/v5/models/
net_address.rs

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