pub struct NetworkingConfig {
pub endpoints_config: Option<HashMap<String, EndpointSettings>>,
}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>>Implementations§
Source§impl NetworkingConfig
impl NetworkingConfig
pub fn new() -> NetworkingConfig
Trait Implementations§
Source§impl Clone for NetworkingConfig
impl Clone for NetworkingConfig
Source§fn clone(&self) -> NetworkingConfig
fn clone(&self) -> NetworkingConfig
Returns a duplicate 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<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
Source§impl FromStr for NetworkingConfig
Converts Query Parameters representation (style=form, explode=false) to a NetworkingConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for NetworkingConfig
Converts Query Parameters representation (style=form, explode=false) to a NetworkingConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for NetworkingConfig
impl PartialEq for NetworkingConfig
Source§impl Serialize for NetworkingConfig
impl Serialize for NetworkingConfig
Source§impl ToString for NetworkingConfig
Converts the NetworkingConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for NetworkingConfig
Converts the NetworkingConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for NetworkingConfig
impl Validate for NetworkingConfig
Source§impl<'v_a> ValidateArgs<'v_a> for NetworkingConfig
impl<'v_a> ValidateArgs<'v_a> for NetworkingConfig
impl StructuralPartialEq for NetworkingConfig
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