pub struct MoveOptions {
pub force: bool,
pub dry_run: bool,
pub skip_errors: bool,
pub sparse: bool,
}Fields§
§force: bool§dry_run: bool§skip_errors: bool§sparse: boolgit mv --sparse: allow moving entries into or out of the
sparse-checkout, reconciling each moved entry’s skip-worktree bit and
worktree materialization with the destination’s cone membership.
Trait Implementations§
Source§impl Clone for MoveOptions
impl Clone for MoveOptions
Source§fn clone(&self) -> MoveOptions
fn clone(&self) -> MoveOptions
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 moreimpl Copy for MoveOptions
Source§impl Debug for MoveOptions
impl Debug for MoveOptions
impl Eq for MoveOptions
Source§impl PartialEq for MoveOptions
impl PartialEq for MoveOptions
Source§fn eq(&self, other: &MoveOptions) -> bool
fn eq(&self, other: &MoveOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MoveOptions
Auto Trait Implementations§
impl Freeze for MoveOptions
impl RefUnwindSafe for MoveOptions
impl Send for MoveOptions
impl Sync for MoveOptions
impl Unpin for MoveOptions
impl UnsafeUnpin for MoveOptions
impl UnwindSafe for MoveOptions
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