pub struct NetworkingConfig {
pub endpoints_config: Option<HashMap<String, EndpointSettings>>,
}
Available on crate feature
v5
only.Expand description
NetworkingConfig represents the container’s networking configuration for each of its interfaces
Carries the networking configs specified in the docker run
and docker network connect
commands
Fields§
§endpoints_config: Option<HashMap<String, EndpointSettings>>
Trait Implementations§
Source§impl Debug for NetworkingConfig
impl Debug for NetworkingConfig
Source§impl Default for NetworkingConfig
impl Default for NetworkingConfig
Source§fn default() -> NetworkingConfig
fn default() -> NetworkingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkingConfig
impl<'de> Deserialize<'de> for NetworkingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkingConfig
impl RefUnwindSafe for NetworkingConfig
impl Send for NetworkingConfig
impl Sync for NetworkingConfig
impl Unpin for NetworkingConfig
impl UnwindSafe for NetworkingConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more