pub enum LightweightDiffResult {
Added(String, String),
Removed(String, String),
Modified(String, String, String),
TypeChanged(String, String, String),
}
Expand description
Lightweight diff result that doesn’t clone values unnecessarily
Variants§
Added(String, String)
Removed(String, String)
Modified(String, String, String)
TypeChanged(String, String, String)
Trait Implementations§
Source§impl Debug for LightweightDiffResult
impl Debug for LightweightDiffResult
Source§impl From<&DiffResult> for LightweightDiffResult
impl From<&DiffResult> for LightweightDiffResult
Source§fn from(diff: &DiffResult) -> Self
fn from(diff: &DiffResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LightweightDiffResult
impl PartialEq for LightweightDiffResult
Source§impl Serialize for LightweightDiffResult
impl Serialize for LightweightDiffResult
impl StructuralPartialEq for LightweightDiffResult
Auto Trait Implementations§
impl Freeze for LightweightDiffResult
impl RefUnwindSafe for LightweightDiffResult
impl Send for LightweightDiffResult
impl Sync for LightweightDiffResult
impl Unpin for LightweightDiffResult
impl UnwindSafe for LightweightDiffResult
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