pub struct RefactoringResult {
pub success: bool,
pub files_modified: usize,
pub changes_made: usize,
pub warnings: Vec<String>,
pub errors: Vec<String>,
pub operation_id: Option<String>,
}Expand description
Refactoring engine types: configuration, operations, and results. Result of a refactoring operation
Fields§
§success: boolWhether the operation succeeded
files_modified: usizeNumber of files modified
changes_made: usizeNumber of changes made
warnings: Vec<String>Warning messages from the operation
errors: Vec<String>Error messages if operation failed
operation_id: Option<String>Operation identifier for rollback
Trait Implementations§
Source§impl Clone for RefactoringResult
impl Clone for RefactoringResult
Source§fn clone(&self) -> RefactoringResult
fn clone(&self) -> RefactoringResult
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 RefactoringResult
impl Debug for RefactoringResult
Source§impl<'de> Deserialize<'de> for RefactoringResult
impl<'de> Deserialize<'de> for RefactoringResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactoringResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactoringResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RefactoringResult
impl Serialize for RefactoringResult
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 RefactoringResult
impl RefUnwindSafe for RefactoringResult
impl Send for RefactoringResult
impl Sync for RefactoringResult
impl Unpin for RefactoringResult
impl UnsafeUnpin for RefactoringResult
impl UnwindSafe for RefactoringResult
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