pub struct Options {
pub force: bool,
pub strip_trailing_slashes: bool,
pub no_target_directory: bool,
pub update: bool,
}Fields§
§force: boolOverwrite existing files.
strip_trailing_slashes: boolRemove any trailing slashes from src argument.
no_target_directory: boolTreat dest as a normal file.
update: boolMove 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