pub struct ContainerWithWorkdirOptsBuilder { /* private fields */ }
Expand description
Builder for ContainerWithWorkdirOpts
.
Implementations§
Source§impl ContainerWithWorkdirOptsBuilder
impl ContainerWithWorkdirOptsBuilder
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 of path according to the current environment variables defined in the container (e.g. “/$VAR/foo”).
Sourcepub fn build(
&self,
) -> Result<ContainerWithWorkdirOpts, ContainerWithWorkdirOptsBuilderError>
pub fn build( &self, ) -> Result<ContainerWithWorkdirOpts, ContainerWithWorkdirOptsBuilderError>
Trait Implementations§
Source§impl Clone for ContainerWithWorkdirOptsBuilder
impl Clone for ContainerWithWorkdirOptsBuilder
Source§fn clone(&self) -> ContainerWithWorkdirOptsBuilder
fn clone(&self) -> ContainerWithWorkdirOptsBuilder
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 moreAuto Trait Implementations§
impl Freeze for ContainerWithWorkdirOptsBuilder
impl RefUnwindSafe for ContainerWithWorkdirOptsBuilder
impl Send for ContainerWithWorkdirOptsBuilder
impl Sync for ContainerWithWorkdirOptsBuilder
impl Unpin for ContainerWithWorkdirOptsBuilder
impl UnwindSafe for ContainerWithWorkdirOptsBuilder
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