pub struct HashMapDeepPatch<K, V>{ /* private fields */ }
Trait Implementations§
Source§impl<K, V> Clone for HashMapDeepPatch<K, V>
impl<K, V> Clone for HashMapDeepPatch<K, V>
Source§fn clone(&self) -> HashMapDeepPatch<K, V>
fn clone(&self) -> HashMapDeepPatch<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 HashMapDeepPatch<K, V>
impl<K, V> Debug for HashMapDeepPatch<K, V>
Source§impl<K, V> Default for HashMapDeepPatch<K, V>
impl<K, V> Default for HashMapDeepPatch<K, V>
Source§fn default() -> HashMapDeepPatch<K, V>
fn default() -> HashMapDeepPatch<K, V>
Returns the “default value” for a type. Read more
Source§impl<'de, K, V> Deserialize<'de> for HashMapDeepPatch<K, V>
impl<'de, K, V> Deserialize<'de> for HashMapDeepPatch<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> Merge for HashMapDeepPatch<K, V>
impl<K, V> Merge for HashMapDeepPatch<K, V>
Source§impl<K, V> PartialEq for HashMapDeepPatch<K, V>
impl<K, V> PartialEq for HashMapDeepPatch<K, V>
Source§impl<K, T, P> Patch<HashMapDeepPatch<K, P>> for HashMap<K, T>
impl<K, T, P> Patch<HashMapDeepPatch<K, P>> for HashMap<K, T>
Source§fn apply(&mut self, patch: HashMapDeepPatch<K, P>)
fn apply(&mut self, patch: HashMapDeepPatch<K, P>)
Apply a patch
Source§fn into_patch(self) -> HashMapDeepPatch<K, P>
fn into_patch(self) -> HashMapDeepPatch<K, P>
Returns a patch that when applied turns any struct of the same type into
Self
Source§fn into_patch_by_diff(self, _previous_struct: Self) -> HashMapDeepPatch<K, P>
fn into_patch_by_diff(self, _previous_struct: Self) -> HashMapDeepPatch<K, P>
Returns a patch that when applied turns
previous_struct
into Self
Source§fn new_empty_patch() -> HashMapDeepPatch<K, P>
fn new_empty_patch() -> HashMapDeepPatch<K, P>
Get an empty patch instance
impl<K, V> StructuralPartialEq for HashMapDeepPatch<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for HashMapDeepPatch<K, V>
impl<K, V> RefUnwindSafe for HashMapDeepPatch<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapDeepPatch<K, V>
impl<K, V> Sync for HashMapDeepPatch<K, V>
impl<K, V> Unpin for HashMapDeepPatch<K, V>
impl<K, V> UnwindSafe for HashMapDeepPatch<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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