pub struct ContainerWithEnvVariableOptsBuilder { /* private fields */ }Expand description
Builder for ContainerWithEnvVariableOpts.
Implementations§
source§impl ContainerWithEnvVariableOptsBuilder
impl ContainerWithEnvVariableOptsBuilder
sourcepub fn expand<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn expand<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Replace ${VAR} or $VAR in the value according to the current environment variables defined in the container (e.g., “/opt/bin:$PATH”).
sourcepub fn build(
&self
) -> Result<ContainerWithEnvVariableOpts, ContainerWithEnvVariableOptsBuilderError>
pub fn build( &self ) -> Result<ContainerWithEnvVariableOpts, ContainerWithEnvVariableOptsBuilderError>
Trait Implementations§
source§impl Clone for ContainerWithEnvVariableOptsBuilder
impl Clone for ContainerWithEnvVariableOptsBuilder
source§fn clone(&self) -> ContainerWithEnvVariableOptsBuilder
fn clone(&self) -> ContainerWithEnvVariableOptsBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ContainerWithEnvVariableOptsBuilder
impl Send for ContainerWithEnvVariableOptsBuilder
impl Sync for ContainerWithEnvVariableOptsBuilder
impl Unpin for ContainerWithEnvVariableOptsBuilder
impl UnwindSafe for ContainerWithEnvVariableOptsBuilder
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