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 moreAuto Trait Implementations§
impl RefUnwindSafe for ContainerWithMountedCacheOptsBuilder
impl Send for ContainerWithMountedCacheOptsBuilder
impl Sync for ContainerWithMountedCacheOptsBuilder
impl Unpin for ContainerWithMountedCacheOptsBuilder
impl UnwindSafe for ContainerWithMountedCacheOptsBuilder
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