pub struct Settings {
pub verbosity: Verbosity,
pub dry_run: bool,
pub hidden: bool,
pub ignored: bool,
pub selected_file_types: Vec<String>,
pub ignored_file_types: Vec<String>,
}
Expand description
Settings applied for a DirectoryPatcher run
Fields§
§verbosity: Verbosity
Control verbosity of ruplacer’s console output
dry_run: bool
If true, do not write changes to the file system (default: false)
If true, also patch hidden files (default: false)
ignored: bool
If true, also patch ignored files (default: false)
selected_file_types: Vec<String>
List of file types to select (default: empty)
ignored_file_types: Vec<String>
List of file types to ignore (default: empty)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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