pub struct ExecutionOptions {
pub conflict_strategy: ConflictStrategy,
pub mode: ExecutionMode,
pub dry_run: bool,
}Expand description
Runtime options for applying a CopyPlan.
Fields§
§conflict_strategy: ConflictStrategyPolicy used when a destination file already exists.
mode: ExecutionModeWhether files are copied or moved.
dry_run: boolWhen true, compute the same summary without writing or removing files.
Trait Implementations§
Source§impl Clone for ExecutionOptions
impl Clone for ExecutionOptions
Source§fn clone(&self) -> ExecutionOptions
fn clone(&self) -> ExecutionOptions
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 ExecutionOptions
impl Debug for ExecutionOptions
Source§impl Default for ExecutionOptions
impl Default for ExecutionOptions
Source§impl PartialEq for ExecutionOptions
impl PartialEq for ExecutionOptions
Source§fn eq(&self, other: &ExecutionOptions) -> bool
fn eq(&self, other: &ExecutionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExecutionOptions
impl Eq for ExecutionOptions
impl StructuralPartialEq for ExecutionOptions
Auto Trait Implementations§
impl Freeze for ExecutionOptions
impl RefUnwindSafe for ExecutionOptions
impl Send for ExecutionOptions
impl Sync for ExecutionOptions
impl Unpin for ExecutionOptions
impl UnsafeUnpin for ExecutionOptions
impl UnwindSafe for ExecutionOptions
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