pub struct ContainerWithMountedCacheOptsBuilder { /* private fields */ }Expand description
Builder for ContainerWithMountedCacheOpts.
Implementations§
source§impl ContainerWithMountedCacheOptsBuilder
impl ContainerWithMountedCacheOptsBuilder
pub fn source<VALUE: Into<DirectoryId>>(&mut self, value: VALUE) -> &mut Self
pub fn sharing<VALUE: Into<CacheSharingMode>>( &mut self, value: VALUE ) -> &mut Self
sourcepub fn build(
&self
) -> Result<ContainerWithMountedCacheOpts, ContainerWithMountedCacheOptsBuilderError>
pub fn build( &self ) -> Result<ContainerWithMountedCacheOpts, ContainerWithMountedCacheOptsBuilderError>
Trait Implementations§
source§impl Clone for ContainerWithMountedCacheOptsBuilder
impl Clone for ContainerWithMountedCacheOptsBuilder
source§fn clone(&self) -> ContainerWithMountedCacheOptsBuilder
fn clone(&self) -> ContainerWithMountedCacheOptsBuilder
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