Struct fs2::RenameOptions
source · pub struct RenameOptions {
pub overwrite: bool,
pub ignore_if_exists: bool,
}
Fields§
§overwrite: bool
§ignore_if_exists: bool
Trait Implementations§
source§impl Clone for RenameOptions
impl Clone for RenameOptions
source§fn clone(&self) -> RenameOptions
fn clone(&self) -> RenameOptions
Returns a copy 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 Default for RenameOptions
impl Default for RenameOptions
source§fn default() -> RenameOptions
fn default() -> RenameOptions
Returns the “default value” for a type. Read more
impl Copy for RenameOptions
Auto Trait Implementations§
impl RefUnwindSafe for RenameOptions
impl Send for RenameOptions
impl Sync for RenameOptions
impl Unpin for RenameOptions
impl UnwindSafe for RenameOptions
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