pub struct DirectoryWithFileOptsBuilder { /* private fields */ }
Expand description
Builder for DirectoryWithFileOpts
.
Implementations§
Source§impl DirectoryWithFileOptsBuilder
impl DirectoryWithFileOptsBuilder
Sourcepub fn permissions<VALUE: Into<isize>>(&mut self, value: VALUE) -> &mut Self
pub fn permissions<VALUE: Into<isize>>(&mut self, value: VALUE) -> &mut Self
Permission given to the copied file (e.g., 0600).
Sourcepub fn build(
&self,
) -> Result<DirectoryWithFileOpts, DirectoryWithFileOptsBuilderError>
pub fn build( &self, ) -> Result<DirectoryWithFileOpts, DirectoryWithFileOptsBuilderError>
Trait Implementations§
Source§impl Clone for DirectoryWithFileOptsBuilder
impl Clone for DirectoryWithFileOptsBuilder
Source§fn clone(&self) -> DirectoryWithFileOptsBuilder
fn clone(&self) -> DirectoryWithFileOptsBuilder
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 DirectoryWithFileOptsBuilder
impl RefUnwindSafe for DirectoryWithFileOptsBuilder
impl Send for DirectoryWithFileOptsBuilder
impl Sync for DirectoryWithFileOptsBuilder
impl Unpin for DirectoryWithFileOptsBuilder
impl UnwindSafe for DirectoryWithFileOptsBuilder
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