Struct identity_iota::core::diff::DiffHashMap
[−]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>, Global>>
diff chain features are slated for removal
Trait Implementations
impl<K, V> Clone for DiffHashMap<K, V> where
K: Clone + Diff,
V: Clone + Diff,
impl<K, V> Clone for DiffHashMap<K, V> where
K: Clone + Diff,
V: Clone + Diff,
fn clone(&self) -> DiffHashMap<K, V>
fn clone(&self) -> DiffHashMap<K, V>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
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.
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.
fn default() -> DiffHashMap<K, V>
fn default() -> DiffHashMap<K, V>
Returns the “default value” for a type. Read more
impl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V> where
K: Diff + Deserialize<'de>,
V: Diff + Deserialize<'de>,
impl<'de, K, V> Deserialize<'de> for DiffHashMap<K, V> where
K: Diff + Deserialize<'de>,
V: Diff + Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DiffHashMap<K, V>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DiffHashMap<K, V>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<K, V> PartialEq<DiffHashMap<K, V>> for DiffHashMap<K, V> where
K: PartialEq<K> + Diff,
V: PartialEq<V> + Diff,
impl<K, V> PartialEq<DiffHashMap<K, V>> for DiffHashMap<K, V> where
K: PartialEq<K> + Diff,
V: PartialEq<V> + Diff,
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 ==
. Read more
fn ne(&self, other: &DiffHashMap<K, V>) -> bool
fn ne(&self, other: &DiffHashMap<K, V>) -> bool
This method tests for !=
.
impl<K, V> Serialize for DiffHashMap<K, V> where
K: Diff + Serialize,
V: Diff + Serialize,
impl<K, V> Serialize for DiffHashMap<K, V> where
K: Diff + Serialize,
V: Diff + Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<K, V> StructuralPartialEq for DiffHashMap<K, V> where
K: Diff,
V: Diff,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for DiffHashMap<K, V> where
K: RefUnwindSafe,
<V as Diff>::Type: RefUnwindSafe,
impl<K, V> Send for DiffHashMap<K, V> where
K: Send,
<V as Diff>::Type: Send,
impl<K, V> Sync for DiffHashMap<K, V> where
K: Sync,
<V as Diff>::Type: Sync,
impl<K, V> Unpin for DiffHashMap<K, V> where
K: Unpin,
<V as Diff>::Type: Unpin,
impl<K, V> UnwindSafe for DiffHashMap<K, V> where
K: UnwindSafe,
<V as Diff>::Type: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromJson for T where
T: for<'de> Deserialize<'de>,
impl<T> FromJson for T where
T: for<'de> Deserialize<'de>,
sourcefn from_json(json: &impl AsRef<str>) -> Result<Self, Error>
fn from_json(json: &impl AsRef<str>) -> Result<Self, Error>
Deserialize Self
from a string of JSON text.
sourcefn from_json_slice(json: &impl AsRef<[u8]>) -> Result<Self, Error>
fn from_json_slice(json: &impl AsRef<[u8]>) -> Result<Self, Error>
Deserialize Self
from bytes of JSON text.
sourcefn from_json_value(json: Value) -> Result<Self, Error>
fn from_json_value(json: Value) -> Result<Self, Error>
Deserialize Self
from a [serde_json::Value
].
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToJson for T where
T: Serialize,
impl<T> ToJson for T where
T: Serialize,
sourcefn to_json_value(&self) -> Result<Value, Error>
fn to_json_value(&self) -> Result<Value, Error>
Serialize self
as a [serde_json::Value
].
sourcefn to_json_pretty(&self) -> Result<String, Error>
fn to_json_pretty(&self) -> Result<String, Error>
Serialize self
as a pretty-printed string of JSON.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more