pub fn expose_port<T>(&mut self, port: T) -> &mut Self
        where T: Into<String>
    {
        self.exposed_ports.insert(port.into(), EmptyObject{});

        self
    }
/// Expose port of container to this Config builder.
///
/// # Examples
///
/// ```rust
/// # use docker_client::container::ConfigBuilder;
/// let builder = ConfigBuilder::with_image("alpine")
///     .expose_port("22/tcp")
///     .build();
/// ```
Expose port of container to this Config builder.
Expose port of container to this Config builder .
pub fn expose_port<T>(&mut self, port: T) -> &mut Self
        where T: Into<String>
    {
        self.exposed_ports.insert(port.into(), EmptyObject{});
        self
    }
pub fn expose_port < T > ( & mut self , port : T ) -> & mut Self where T : Into < String > { self . exposed_ports . insert ( port . into ( ) , EmptyObject { } ) ; self }
Expose port of container to this Config builder.
Expose port of container to this Config builder .
&mut self
port
T
&mut self
port
T
examples
None
use docker_client::container::configbuilder;
let builder = ConfigBuilder::with_image("alpine")
.expose_port("22/tcp")
.build();
```
let builder = ConfigBuilder :: with_image ( " alpine " ) . expose_port ( " 22 / tcp " ) . build () ; ` ` `