Struct identity_did::diff::DiffMethod
source · [−]pub struct DiffMethod<D = CoreDID, T = Object> where
D: Diff + DID,
T: Diff, { /* private fields */ }
👎 Deprecated since 0.5.0:
diff chain features are slated for removal
Trait Implementations
sourceimpl<D: Clone, T: Clone> Clone for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
impl<D: Clone, T: Clone> Clone for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
sourcefn clone(&self) -> DiffMethod<D, T>
fn clone(&self) -> DiffMethod<D, T>
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
sourceimpl<'de, D, T> Deserialize<'de> for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
D: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, D, T> Deserialize<'de> for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
D: Deserialize<'de>,
T: Deserialize<'de>,
sourcefn 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
sourceimpl<D: PartialEq, T: PartialEq> PartialEq<DiffMethod<D, T>> for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
impl<D: PartialEq, T: PartialEq> PartialEq<DiffMethod<D, T>> for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
sourcefn eq(&self, other: &DiffMethod<D, T>) -> bool
fn eq(&self, other: &DiffMethod<D, T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DiffMethod<D, T>) -> bool
fn ne(&self, other: &DiffMethod<D, T>) -> bool
This method tests for !=
.
sourceimpl<D, T> Serialize for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
D: Serialize,
T: Serialize,
impl<D, T> Serialize for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
D: Serialize,
T: Serialize,
impl<D, T> StructuralPartialEq for DiffMethod<D, T> where
D: Diff + DID,
T: Diff,
Auto Trait Implementations
impl<D, T> RefUnwindSafe for DiffMethod<D, T> where
<D as Diff>::Type: RefUnwindSafe,
<T as Diff>::Type: RefUnwindSafe,
impl<D, T> Send for DiffMethod<D, T> where
<D as Diff>::Type: Send,
<T as Diff>::Type: Send,
impl<D, T> Sync for DiffMethod<D, T> where
<D as Diff>::Type: Sync,
<T as Diff>::Type: Sync,
impl<D, T> Unpin for DiffMethod<D, T> where
<D as Diff>::Type: Unpin,
<T as Diff>::Type: Unpin,
impl<D, T> UnwindSafe for DiffMethod<D, T> where
<D as Diff>::Type: UnwindSafe,
<T 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> 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.