pub struct AdoptEditsOpts {
pub manifest_path: PathBuf,
pub repo_path: PathBuf,
pub dry_run: bool,
}Expand description
Options for adopt_edits.
Fields§
§manifest_path: PathBufAbsolute path to the manifest JSON file.
repo_path: PathBufAbsolute path to the dotfiles repo root (used to resolve <repo>/<src>).
dry_run: boolPrint what would happen without touching disk or saving the manifest.
Auto Trait Implementations§
impl Freeze for AdoptEditsOpts
impl RefUnwindSafe for AdoptEditsOpts
impl Send for AdoptEditsOpts
impl Sync for AdoptEditsOpts
impl Unpin for AdoptEditsOpts
impl UnsafeUnpin for AdoptEditsOpts
impl UnwindSafe for AdoptEditsOpts
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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