pub struct Options {
pub force: bool,
pub strip_trailing_slashes: bool,
pub no_target_directory: bool,
pub update: bool,
}
Fields§
§force: bool
Overwrite existing files.
strip_trailing_slashes: bool
Remove any trailing slashes from src
argument.
no_target_directory: bool
Treat dest
as a normal file.
update: bool
Move only when the src
file is newer than the destination file
or when the destination file is missing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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