pub struct ContainerWithMountedCacheOptsBuilder { /* private fields */ }Expand description
Builder for ContainerWithMountedCacheOpts.
Implementations§
source§impl ContainerWithMountedCacheOptsBuilder
impl ContainerWithMountedCacheOptsBuilder
sourcepub fn sharing<VALUE: Into<CacheSharingMode>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn sharing<VALUE: Into<CacheSharingMode>>( &mut self, value: VALUE ) -> &mut Self
Sharing mode of the cache volume.
sourcepub fn source<VALUE: Into<DirectoryId>>(&mut self, value: VALUE) -> &mut Self
pub fn source<VALUE: Into<DirectoryId>>(&mut self, value: VALUE) -> &mut Self
Identifier of the directory to use as the cache volume’s root.
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