pub struct LeafModification {
pub path: String,
pub from: Value,
pub to: Value,
}Expand description
One changed leaf of a RegistryDiff::Structural view.
Fields§
§path: StringThe leaf’s path (same convention as LeafChange::path).
from: ValueThe base version’s value.
to: ValueThe target version’s value.
Trait Implementations§
Source§impl Clone for LeafModification
impl Clone for LeafModification
Source§impl Debug for LeafModification
impl Debug for LeafModification
Source§impl<'de> Deserialize<'de> for LeafModification
impl<'de> Deserialize<'de> for LeafModification
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 PartialEq for LeafModification
impl PartialEq for LeafModification
Source§impl Serialize for LeafModification
impl Serialize for LeafModification
impl StructuralPartialEq for LeafModification
Auto Trait Implementations§
impl Freeze for LeafModification
impl RefUnwindSafe for LeafModification
impl Send for LeafModification
impl Sync for LeafModification
impl Unpin for LeafModification
impl UnsafeUnpin for LeafModification
impl UnwindSafe for LeafModification
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