pub struct Options {
pub force: bool,
pub dry_run: bool,
pub format: bool,
}Expand description
Options controlling how a plan is applied.
Fields§
§force: boolOverwrite files that already exist.
dry_run: boolCompute and report actions but touch no files.
format: boolRun rustfmt over the .rs files written, so generated code is formatted the way the
toolchain would format it (ADR-020). Off by default (tests/snapshots pin the raw template
output); the CLI turns it on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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