Struct identity_diff::DiffHashMap
source · pub struct DiffHashMap<K: Diff, V: Diff>(pub Option<Vec<InnerValue<K, V>>>);
👎Deprecated since 0.5.0: diff chain features are slated for removal
Expand description
A DiffHashMap
type which represents a Diffed HashMap
.
By default this value is transparent to serde
.
Tuple Fields§
§0: Option<Vec<InnerValue<K, V>>>
👎Deprecated since 0.5.0: diff chain features are slated for removal
Trait Implementations§
source§impl<K: Clone + Diff, V: Clone + Diff> Clone for DiffHashMap<K, V>
impl<K: Clone + Diff, V: Clone + Diff> Clone for DiffHashMap<K, V>
source§fn clone(&self) -> DiffHashMap<K, V>
fn clone(&self) -> DiffHashMap<K, V>
Returns a copy 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<K, V> Debug for DiffHashMap<K, V>where
K: Debug + Diff,
V: Debug + Diff,
impl<K, V> Debug for DiffHashMap<K, V>where K: Debug + Diff, V: Debug + Diff,
Debug implementation for the DiffHashMap<K, V>
type.
source§impl<K, V> Default for DiffHashMap<K, V>where
K: Diff,
V: Diff,
impl<K, V> Default for DiffHashMap<K, V>where K: Diff, V: Diff,
Default implementation for the DiffHashMap<K, V>
type.
source§impl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V>where
K: Deserialize<'de> + Diff,
V: Deserialize<'de> + Diff,
impl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V>where K: Deserialize<'de> + Diff, V: Deserialize<'de> + Diff,
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<K: PartialEq + Diff, V: PartialEq + Diff> PartialEq<DiffHashMap<K, V>> for DiffHashMap<K, V>
impl<K: PartialEq + Diff, V: PartialEq + Diff> PartialEq<DiffHashMap<K, V>> for DiffHashMap<K, V>
source§fn eq(&self, other: &DiffHashMap<K, V>) -> bool
fn eq(&self, other: &DiffHashMap<K, V>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.