pub struct RefactorResult {
pub file_edits: Vec<FileEdit>,
pub description: String,
pub warnings: Vec<String>,
}Expand description
Result of a refactoring operation
Contains all the changes that need to be applied to complete a refactoring operation, along with descriptive information and any warnings that were encountered during the analysis phase.
Fields§
§file_edits: Vec<FileEdit>The list of file edits that need to be applied to complete the refactoring
description: StringA human-readable description of what the refactoring operation does
warnings: Vec<String>Any warnings encountered during the refactoring analysis (non-fatal issues)
Trait Implementations§
Source§impl Debug for RefactorResult
impl Debug for RefactorResult
Source§impl<'de> Deserialize<'de> for RefactorResult
impl<'de> Deserialize<'de> for RefactorResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactorResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefactorResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RefactorResult
impl Serialize for RefactorResult
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 RefactorResult
impl RefUnwindSafe for RefactorResult
impl Send for RefactorResult
impl Sync for RefactorResult
impl Unpin for RefactorResult
impl UnsafeUnpin for RefactorResult
impl UnwindSafe for RefactorResult
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