pub struct AstChange {
pub path: String,
pub kind: ChangeKind,
}Expand description
A single change between two ASTs.
Fields§
§path: StringDot-separated path to the changed node (e.g., “state.count”, “actions.increment”).
kind: ChangeKindThe kind of change.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AstChange
impl<'de> Deserialize<'de> for AstChange
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
impl StructuralPartialEq for AstChange
Auto Trait Implementations§
impl Freeze for AstChange
impl RefUnwindSafe for AstChange
impl Send for AstChange
impl Sync for AstChange
impl Unpin for AstChange
impl UnwindSafe for AstChange
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