Struct podman_api::models::NetworkSettings
source · pub struct NetworkSettings {Show 18 fields
pub bridge: Option<String>,
pub endpoint_id: Option<String>,
pub gateway: Option<String>,
pub global_i_pv_6_address: Option<String>,
pub global_i_pv_6_prefix_len: Option<i64>,
pub hairpin_mode: Option<bool>,
pub ip_address: Option<String>,
pub ip_prefix_len: Option<i64>,
pub i_pv_6_gateway: Option<String>,
pub link_local_i_pv_6_address: Option<String>,
pub link_local_i_pv_6_prefix_len: Option<i64>,
pub mac_address: Option<String>,
pub networks: Option<HashMap<String, EndpointSettings, RandomState>>,
pub ports: Option<HashMap<String, Option<Vec<PortBinding, Global>>, RandomState>>,
pub sandbox_id: Option<String>,
pub sandbox_key: Option<String>,
pub secondary_ip_addresses: Option<Vec<Address, Global>>,
pub secondary_i_pv_6_addresses: Option<Vec<Address, Global>>,
}Expand description
NetworkSettings exposes the network settings in the api
Fields§
§bridge: Option<String>§endpoint_id: Option<String>§gateway: Option<String>§global_i_pv_6_address: Option<String>§global_i_pv_6_prefix_len: Option<i64>§hairpin_mode: Option<bool>§ip_address: Option<String>§ip_prefix_len: Option<i64>§i_pv_6_gateway: Option<String>§link_local_i_pv_6_address: Option<String>§link_local_i_pv_6_prefix_len: Option<i64>§mac_address: Option<String>§networks: Option<HashMap<String, EndpointSettings, RandomState>>§ports: Option<HashMap<String, Option<Vec<PortBinding, Global>>, RandomState>>§sandbox_id: Option<String>§sandbox_key: Option<String>§secondary_ip_addresses: Option<Vec<Address, Global>>§secondary_i_pv_6_addresses: Option<Vec<Address, Global>>Trait Implementations§
source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
source§fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NetworkSettings
impl Debug for NetworkSettings
source§impl<'de> Deserialize<'de> for NetworkSettings
impl<'de> Deserialize<'de> for NetworkSettings
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<NetworkSettings> for NetworkSettings
impl PartialEq<NetworkSettings> for NetworkSettings
source§fn eq(&self, other: &NetworkSettings) -> bool
fn eq(&self, other: &NetworkSettings) -> bool
source§impl Serialize for NetworkSettings
impl Serialize for NetworkSettings
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more