pub struct ContainerWithoutExposedPortOptsBuilder { /* private fields */ }Expand description
Builder for ContainerWithoutExposedPortOpts.
Implementations§
source§impl ContainerWithoutExposedPortOptsBuilder
impl ContainerWithoutExposedPortOptsBuilder
sourcepub fn protocol<VALUE: Into<NetworkProtocol>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn protocol<VALUE: Into<NetworkProtocol>>( &mut self, value: VALUE ) -> &mut Self
Port protocol to unexpose
sourcepub fn build(
&self
) -> Result<ContainerWithoutExposedPortOpts, ContainerWithoutExposedPortOptsBuilderError>
pub fn build( &self ) -> Result<ContainerWithoutExposedPortOpts, ContainerWithoutExposedPortOptsBuilderError>
Trait Implementations§
source§impl Clone for ContainerWithoutExposedPortOptsBuilder
impl Clone for ContainerWithoutExposedPortOptsBuilder
source§fn clone(&self) -> ContainerWithoutExposedPortOptsBuilder
fn clone(&self) -> ContainerWithoutExposedPortOptsBuilder
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 more