pub enum DiffResult {
Added(String, Value),
Removed(String, Value),
Modified(String, Value, Value),
TypeChanged(String, Value, Value),
}
Variants§
Added(String, Value)
Removed(String, Value)
Modified(String, Value, Value)
TypeChanged(String, Value, Value)
Trait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 DiffResult
impl Debug for DiffResult
Source§impl Display for DiffResult
impl Display for DiffResult
Source§impl From<&DiffResult> for LightweightDiffResult
impl From<&DiffResult> for LightweightDiffResult
Source§fn from(result: &DiffResult) -> Self
fn from(result: &DiffResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiffResult
impl PartialEq for DiffResult
Source§impl Serialize for DiffResult
impl Serialize for DiffResult
impl StructuralPartialEq for DiffResult
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnwindSafe for DiffResult
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