pub struct RenameFlags {
pub replace_if_exists: bool,
pub exchange: bool,
pub no_replace: bool,
}Expand description
Rename operation flags.
Fields§
§replace_if_exists: boolReplace target if it exists
exchange: boolAtomically exchange source and target
no_replace: boolFail if target exists (mutually exclusive with replace_if_exists)
Trait Implementations§
Source§impl Clone for RenameFlags
impl Clone for RenameFlags
Source§fn clone(&self) -> RenameFlags
fn clone(&self) -> RenameFlags
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 moreSource§impl Debug for RenameFlags
impl Debug for RenameFlags
Source§impl Default for RenameFlags
impl Default for RenameFlags
Source§fn default() -> RenameFlags
fn default() -> RenameFlags
Returns the “default value” for a type. Read more
impl Copy for RenameFlags
Auto Trait Implementations§
impl Freeze for RenameFlags
impl RefUnwindSafe for RenameFlags
impl Send for RenameFlags
impl Sync for RenameFlags
impl Unpin for RenameFlags
impl UnsafeUnpin for RenameFlags
impl UnwindSafe for RenameFlags
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