Struct podman_api::models::NetworkSettings [−][src]
pub struct NetworkSettings {Show 18 fields
pub bridge: Option<String>,
pub endpoint_id: Option<String>,
pub gateway: Option<String>,
pub global_i_pv6_address: Option<String>,
pub global_i_pv6_prefix_len: Option<i64>,
pub hairpin_mode: Option<bool>,
pub ip_address: Option<String>,
pub ip_prefix_len: Option<i64>,
pub i_pv6_gateway: Option<String>,
pub link_local_i_pv6_address: Option<String>,
pub link_local_i_pv6_prefix_len: Option<i64>,
pub mac_address: Option<String>,
pub networks: Option<HashMap<String, EndpointSettings, RandomState>>,
pub ports: Option<HashMap<String, String, RandomState>>,
pub sandbox_id: Option<String>,
pub sandbox_key: Option<String>,
pub secondary_ip_addresses: Option<Vec<Address, Global>>,
pub secondary_i_pv6_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_pv6_address: Option<String>
global_i_pv6_prefix_len: Option<i64>
hairpin_mode: Option<bool>
ip_address: Option<String>
ip_prefix_len: Option<i64>
i_pv6_gateway: Option<String>
link_local_i_pv6_address: Option<String>
link_local_i_pv6_prefix_len: Option<i64>
mac_address: Option<String>
networks: Option<HashMap<String, EndpointSettings, RandomState>>
ports: Option<HashMap<String, String, RandomState>>
sandbox_id: Option<String>
sandbox_key: Option<String>
secondary_ip_addresses: Option<Vec<Address, Global>>
secondary_i_pv6_addresses: Option<Vec<Address, Global>>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkSettings, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
Auto Trait Implementations
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnwindSafe for NetworkSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more