pub struct DirectoryExportOptsBuilder { /* private fields */ }
Expand description
Builder for DirectoryExportOpts
.
Implementations§
Source§impl DirectoryExportOptsBuilder
impl DirectoryExportOptsBuilder
Sourcepub fn wipe<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn wipe<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, then the host directory will be wiped clean before exporting so that it exactly matches the directory being exported; this means it will delete any files on the host that aren’t in the exported dir. If false (the default), the contents of the directory will be merged with any existing contents of the host directory, leaving any existing files on the host that aren’t in the exported directory alone.
Sourcepub fn build(
&self,
) -> Result<DirectoryExportOpts, DirectoryExportOptsBuilderError>
pub fn build( &self, ) -> Result<DirectoryExportOpts, DirectoryExportOptsBuilderError>
Trait Implementations§
Source§impl Clone for DirectoryExportOptsBuilder
impl Clone for DirectoryExportOptsBuilder
Source§fn clone(&self) -> DirectoryExportOptsBuilder
fn clone(&self) -> DirectoryExportOptsBuilder
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 DirectoryExportOptsBuilder
impl RefUnwindSafe for DirectoryExportOptsBuilder
impl Send for DirectoryExportOptsBuilder
impl Sync for DirectoryExportOptsBuilder
impl Unpin for DirectoryExportOptsBuilder
impl UnwindSafe for DirectoryExportOptsBuilder
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