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