pub struct RenameOptions {
pub overwrite: bool,
pub atomic: AtomicityRequirement,
}Expand description
Options controlling rename operations.
Fields§
§overwrite: boolWhether the destination may be overwritten.
atomic: AtomicityRequirementRequired atomicity level.
Trait Implementations§
Source§impl Clone for RenameOptions
impl Clone for RenameOptions
Source§fn clone(&self) -> RenameOptions
fn clone(&self) -> RenameOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenameOptions
impl Debug for RenameOptions
Source§impl Default for RenameOptions
impl Default for RenameOptions
Source§impl PartialEq for RenameOptions
impl PartialEq for RenameOptions
Source§fn eq(&self, other: &RenameOptions) -> bool
fn eq(&self, other: &RenameOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RenameOptions
impl StructuralPartialEq for RenameOptions
Auto Trait Implementations§
impl Freeze for RenameOptions
impl RefUnwindSafe for RenameOptions
impl Send for RenameOptions
impl Sync for RenameOptions
impl Unpin for RenameOptions
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.