pub struct MvConfig {
pub force: bool,
pub interactive: bool,
pub no_clobber: bool,
pub verbose: bool,
pub update: bool,
pub backup: Option<BackupMode>,
pub suffix: String,
pub target_directory: Option<String>,
pub no_target_directory: bool,
pub strip_trailing_slashes: bool,
}Expand description
Configuration for mv operations.
Fields§
§force: bool§interactive: bool§no_clobber: bool§verbose: bool§update: bool§backup: Option<BackupMode>§suffix: String§target_directory: Option<String>§no_target_directory: bool§strip_trailing_slashes: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for MvConfig
impl RefUnwindSafe for MvConfig
impl Send for MvConfig
impl Sync for MvConfig
impl Unpin for MvConfig
impl UnsafeUnpin for MvConfig
impl UnwindSafe for MvConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more