Struct docker_api::models::NetworkingConfig
source · pub struct NetworkingConfig {
pub endpoints_config: Option<HashMap<String, EndpointSettings, RandomState>>,
}
Expand description
NetworkingConfig represents the container’s networking configuration for
each of its interfaces.
It is used for the networking configs specified in the docker create
and docker network connect
commands.
Fields§
§endpoints_config: Option<HashMap<String, EndpointSettings, RandomState>>
A mapping of network name to endpoint configuration for that network.
Trait Implementations§
source§impl Clone for NetworkingConfig
impl Clone for NetworkingConfig
source§fn clone(&self) -> NetworkingConfig
fn clone(&self) -> NetworkingConfig
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 NetworkingConfig
impl Debug for NetworkingConfig
source§impl<'de> Deserialize<'de> for NetworkingConfig
impl<'de> Deserialize<'de> for NetworkingConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<NetworkingConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<NetworkingConfig, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<NetworkingConfig> for NetworkingConfig
impl PartialEq<NetworkingConfig> for NetworkingConfig
source§fn eq(&self, other: &NetworkingConfig) -> bool
fn eq(&self, other: &NetworkingConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetworkingConfig
impl Serialize for NetworkingConfig
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