pub struct RepairOptions {
pub ctx: VoidContext,
pub mode: RepairMode,
pub dry_run: bool,
pub checkout: bool,
}Expand description
Options for repository repair.
Fields§
§ctx: VoidContextRepository context (void_dir, vault, etc.)
mode: RepairModeRepair mode to use.
dry_run: boolIf true, show what would happen without making changes.
checkout: boolIf true, update working directory after repair.
Trait Implementations§
Source§impl Clone for RepairOptions
impl Clone for RepairOptions
Source§fn clone(&self) -> RepairOptions
fn clone(&self) -> RepairOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RepairOptions
impl RefUnwindSafe for RepairOptions
impl Send for RepairOptions
impl Sync for RepairOptions
impl Unpin for RepairOptions
impl UnsafeUnpin for RepairOptions
impl UnwindSafe for RepairOptions
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more