pub struct OutputWriterConfig {
pub dry_run: bool,
pub create_backups: bool,
pub format_code: bool,
pub conflict_strategy: ConflictStrategy,
}Expand description
Configuration for output writing
Fields§
§dry_run: boolWhether to run in dry-run mode (preview only)
create_backups: boolWhether to create backups before writing
format_code: boolWhether to format code before writing
conflict_strategy: ConflictStrategyDefault conflict resolution strategy
Trait Implementations§
Source§impl Clone for OutputWriterConfig
impl Clone for OutputWriterConfig
Source§fn clone(&self) -> OutputWriterConfig
fn clone(&self) -> OutputWriterConfig
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 moreSource§impl Debug for OutputWriterConfig
impl Debug for OutputWriterConfig
Auto Trait Implementations§
impl Freeze for OutputWriterConfig
impl RefUnwindSafe for OutputWriterConfig
impl Send for OutputWriterConfig
impl Sync for OutputWriterConfig
impl Unpin for OutputWriterConfig
impl UnwindSafe for OutputWriterConfig
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