pub struct RefactoringConfig {
pub safe_mode: bool,
pub max_files_per_operation: usize,
pub create_backups: bool,
pub operation_timeout: u64,
pub parallel_processing: bool,
pub max_backup_retention: usize,
pub backup_max_age_seconds: u64,
pub backup_root: Option<PathBuf>,
}Expand description
Configuration for refactoring operations
Fields§
§safe_mode: boolEnable safe mode (validate before applying changes)
max_files_per_operation: usizeMaximum number of files to process in a single operation
create_backups: boolEnable automatic backup creation
operation_timeout: u64Timeout for individual refactoring operations (seconds)
parallel_processing: boolEnable parallel processing for multi-file operations
max_backup_retention: usizeMaximum number of backup directories to retain (0 = unlimited)
backup_max_age_seconds: u64Maximum age of backup directories in seconds (0 = no age limit)
backup_root: Option<PathBuf>Custom backup root directory (defaults to temp_dir/perl_refactor_backups)
Trait Implementations§
Source§impl Clone for RefactoringConfig
impl Clone for RefactoringConfig
Source§fn clone(&self) -> RefactoringConfig
fn clone(&self) -> RefactoringConfig
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 RefactoringConfig
impl Debug for RefactoringConfig
Source§impl Default for RefactoringConfig
impl Default for RefactoringConfig
Source§fn default() -> RefactoringConfig
fn default() -> RefactoringConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefactoringConfig
impl<'de> Deserialize<'de> for RefactoringConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactoringConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactoringConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RefactoringConfig
impl Serialize for RefactoringConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RefactoringConfig
impl RefUnwindSafe for RefactoringConfig
impl Send for RefactoringConfig
impl Sync for RefactoringConfig
impl Unpin for RefactoringConfig
impl UnsafeUnpin for RefactoringConfig
impl UnwindSafe for RefactoringConfig
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