pub struct PathConflict {
pub path: Vec<PathComponent>,
pub classification: ConflictClass,
pub base_value: Option<Value>,
pub left_value: Option<Value>,
pub right_value: Option<Value>,
}Expand description
Per-path conflict classification
Fields§
§path: Vec<PathComponent>§classification: ConflictClass§base_value: Option<Value>The common ancestor’s value at this path, or None when the path does
not resolve in the base.
Read from the base state itself. It was previously read from the left
branch’s change, which reported None for a path only the right branch
touched even when the base held a value there.
left_value: Option<Value>The left branch’s value at this path, or None if the left branch did
not change it or removed it.
right_value: Option<Value>The right branch’s value at this path, or None if the right branch did
not change it or removed it.
Trait Implementations§
Source§impl Clone for PathConflict
impl Clone for PathConflict
Source§impl Debug for PathConflict
impl Debug for PathConflict
Source§impl<'de> Deserialize<'de> for PathConflict
impl<'de> Deserialize<'de> for PathConflict
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
Auto Trait Implementations§
impl Freeze for PathConflict
impl RefUnwindSafe for PathConflict
impl Send for PathConflict
impl Sync for PathConflict
impl Unpin for PathConflict
impl UnsafeUnpin for PathConflict
impl UnwindSafe for PathConflict
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