pub struct NodeChange {
pub path: NodePath,
pub fields: Vec<Cow<'static, str>>,
}Expand description
A node present in both snapshots whose fields differ.
Fields§
§path: NodePathIts path, the same in both.
fields: Vec<Cow<'static, str>>The fields that differ, by name.
Trait Implementations§
Source§impl Clone for NodeChange
impl Clone for NodeChange
Source§impl Debug for NodeChange
impl Debug for NodeChange
Source§impl<'de> Deserialize<'de> for NodeChange
impl<'de> Deserialize<'de> for NodeChange
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 Eq for NodeChange
Source§impl PartialEq for NodeChange
impl PartialEq for NodeChange
Source§impl Serialize for NodeChange
impl Serialize for NodeChange
impl StructuralPartialEq for NodeChange
Auto Trait Implementations§
impl Forget for NodeChange
impl Freeze for NodeChangewhere
*const u8 is !null: Freeze,
PhantomData<Segment>: Freeze,
PhantomData<Cow<'static, str>>: Freeze,
impl Move for NodeChange
impl RefUnwindSafe for NodeChangewhere
String: RefUnwindSafe,
impl Send for NodeChange
impl Sync for NodeChange
impl Unpin for NodeChange
impl UnsafeUnpin for NodeChangewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
PhantomData<Cow<'static, str>>: UnsafeUnpin,
impl UnwindSafe for NodeChange
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