[−][src]Struct diff::HashMapDiff
The diff struct used to compare two HashMap's
Fields
altered: HashMap<K, <V as Diff>::Repr>
Values that are changed or added
removed: HashSet<K>
Values that are removed
Trait Implementations
impl<K: Eq + Hash, V: Diff> Clone for HashMapDiff<K, V> where
K: Clone,
V::Repr: Clone,
[src]
K: Clone,
V::Repr: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<K: Eq + Hash, V: Diff> Debug for HashMapDiff<K, V> where
K: Debug,
V::Repr: Debug,
[src]
K: Debug,
V::Repr: Debug,
impl<'de, K: Hash + Eq, V: Diff> Deserialize<'de> for HashMapDiff<K, V> where
V::Repr: Deserialize<'de>,
K: Deserialize<'de>,
[src]
V::Repr: Deserialize<'de>,
K: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<K: Eq + Hash, V: Diff> PartialEq<HashMapDiff<K, V>> for HashMapDiff<K, V> where
V::Repr: PartialEq,
[src]
V::Repr: PartialEq,
impl<K: Hash + Eq, V: Diff> Serialize for HashMapDiff<K, V> where
V::Repr: Serialize,
K: Serialize,
[src]
V::Repr: Serialize,
K: Serialize,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for HashMapDiff<K, V> where
K: RefUnwindSafe,
<V as Diff>::Repr: RefUnwindSafe,
K: RefUnwindSafe,
<V as Diff>::Repr: RefUnwindSafe,
impl<K, V> Send for HashMapDiff<K, V> where
K: Send,
<V as Diff>::Repr: Send,
K: Send,
<V as Diff>::Repr: Send,
impl<K, V> Sync for HashMapDiff<K, V> where
K: Sync,
<V as Diff>::Repr: Sync,
K: Sync,
<V as Diff>::Repr: Sync,
impl<K, V> Unpin for HashMapDiff<K, V> where
K: Unpin,
<V as Diff>::Repr: Unpin,
K: Unpin,
<V as Diff>::Repr: Unpin,
impl<K, V> UnwindSafe for HashMapDiff<K, V> where
K: UnwindSafe,
<V as Diff>::Repr: UnwindSafe,
K: UnwindSafe,
<V as Diff>::Repr: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,