pub struct RefactorPreview {
pub operation: String,
pub changes: Vec<Change>,
pub affected_nodes: Vec<String>,
pub affected_edges: usize,
}Expand description
A preview of changes that a refactoring operation would make.
Fields§
§operation: StringOperation type
changes: Vec<Change>Changes to be made
affected_nodes: Vec<String>Node IDs affected
affected_edges: usizeEdge count affected
Trait Implementations§
Source§impl Clone for RefactorPreview
impl Clone for RefactorPreview
Source§fn clone(&self) -> RefactorPreview
fn clone(&self) -> RefactorPreview
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 RefactorPreview
impl Debug for RefactorPreview
Source§impl<'de> Deserialize<'de> for RefactorPreview
impl<'de> Deserialize<'de> for RefactorPreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RefactorPreview
impl Display for RefactorPreview
Auto Trait Implementations§
impl Freeze for RefactorPreview
impl RefUnwindSafe for RefactorPreview
impl Send for RefactorPreview
impl Sync for RefactorPreview
impl Unpin for RefactorPreview
impl UnsafeUnpin for RefactorPreview
impl UnwindSafe for RefactorPreview
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