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>
Debug implementation for the DiffHashMap<K, V>
type.
impl<K, V> Debug for DiffHashMap<K, V>
Debug implementation for the DiffHashMap<K, V>
type.
Sourceยงimpl<K, V> Default for DiffHashMap<K, V>
Default implementation for the DiffHashMap<K, V>
type.
impl<K, V> Default for DiffHashMap<K, V>
Default implementation for the DiffHashMap<K, V>
type.
Sourceยงimpl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V>
impl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V>
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, V> Serialize for DiffHashMap<K, V>
impl<K, V> Serialize for DiffHashMap<K, V>
impl<K: Diff, V: Diff> StructuralPartialEq for DiffHashMap<K, V>
Auto Trait Implementationsยง
impl<K, V> Freeze for DiffHashMap<K, V>
impl<K, V> RefUnwindSafe for DiffHashMap<K, V>
impl<K, V> Send for DiffHashMap<K, V>
impl<K, V> Sync for DiffHashMap<K, V>
impl<K, V> Unpin for DiffHashMap<K, V>
impl<K, V> UnwindSafe for DiffHashMap<K, V>
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