pub struct CopyTreeOptions {
pub overwrite: bool,
pub follow_symlinks: bool,
}Expand description
Options for copying a directory tree.
Fields§
§overwrite: boolReplace existing destination files.
follow_symlinks: boolFollow symlinks instead of skipping them. Defaults to false for safety.
Trait Implementations§
Source§impl Clone for CopyTreeOptions
impl Clone for CopyTreeOptions
Source§fn clone(&self) -> CopyTreeOptions
fn clone(&self) -> CopyTreeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CopyTreeOptions
Source§impl Debug for CopyTreeOptions
impl Debug for CopyTreeOptions
Source§impl Default for CopyTreeOptions
impl Default for CopyTreeOptions
impl Eq for CopyTreeOptions
Source§impl PartialEq for CopyTreeOptions
impl PartialEq for CopyTreeOptions
Source§fn eq(&self, other: &CopyTreeOptions) -> bool
fn eq(&self, other: &CopyTreeOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyTreeOptions
Auto Trait Implementations§
impl Freeze for CopyTreeOptions
impl RefUnwindSafe for CopyTreeOptions
impl Send for CopyTreeOptions
impl Sync for CopyTreeOptions
impl Unpin for CopyTreeOptions
impl UnsafeUnpin for CopyTreeOptions
impl UnwindSafe for CopyTreeOptions
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