pub enum DiffValueKind {
Null,
Bool,
Number,
String,
Array,
Object,
}Expand description
Classification of value types for diff operations
This enum provides a uniform way to identify value types across different data formats, enabling type-aware diff algorithms.
Variants§
Null
Null/nil/none value
Bool
Boolean value
Number
Numeric value (integer or float)
String
String value
Array
Array/sequence container
Object
Object/map container
Implementations§
Source§impl DiffValueKind
impl DiffValueKind
Trait Implementations§
Source§impl Clone for DiffValueKind
impl Clone for DiffValueKind
Source§fn clone(&self) -> DiffValueKind
fn clone(&self) -> DiffValueKind
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 DiffValueKind
impl Debug for DiffValueKind
Source§impl Display for DiffValueKind
impl Display for DiffValueKind
Source§impl Hash for DiffValueKind
impl Hash for DiffValueKind
Source§impl PartialEq for DiffValueKind
impl PartialEq for DiffValueKind
impl Copy for DiffValueKind
impl Eq for DiffValueKind
impl StructuralPartialEq for DiffValueKind
Auto Trait Implementations§
impl Freeze for DiffValueKind
impl RefUnwindSafe for DiffValueKind
impl Send for DiffValueKind
impl Sync for DiffValueKind
impl Unpin for DiffValueKind
impl UnwindSafe for DiffValueKind
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