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§
source§impl<D, T> Clone for DiffMethod<D, T>where
D: Diff + DID + Clone,
T: Diff + Clone,
impl<D, T> Clone for DiffMethod<D, T>where D: Diff + DID + Clone, T: Diff + Clone,
source§fn clone(&self) -> DiffMethod<D, T>
fn clone(&self) -> DiffMethod<D, T>
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<'de, D, T> Deserialize<'de> for DiffMethod<D, T>where
D: Diff + DID + Deserialize<'de>,
T: Diff + Deserialize<'de>,
impl<'de, D, T> Deserialize<'de> for DiffMethod<D, T>where D: Diff + DID + Deserialize<'de>, T: Diff + Deserialize<'de>,
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<D, T> PartialEq<DiffMethod<D, T>> for DiffMethod<D, T>where
D: Diff + DID + PartialEq,
T: Diff + PartialEq,
impl<D, T> PartialEq<DiffMethod<D, T>> for DiffMethod<D, T>where D: Diff + DID + PartialEq, T: Diff + PartialEq,
source§fn 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 ==
.source§impl<D, T> Serialize for DiffMethod<D, T>where
D: Diff + DID + Serialize,
T: Diff + Serialize,
impl<D, T> Serialize for DiffMethod<D, T>where D: Diff + DID + Serialize, T: Diff + 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§
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
source§impl<T> FromJson for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromJson for Twhere T: for<'de> Deserialize<'de>,
source§fn from_json(json: &(impl AsRef<str> + ?Sized)) -> Result<Self, Error>
fn from_json(json: &(impl AsRef<str> + ?Sized)) -> Result<Self, Error>
Deserialize
Self
from a string of JSON text.source§fn from_json_slice(json: &(impl AsRef<[u8]> + ?Sized)) -> Result<Self, Error>
fn from_json_slice(json: &(impl AsRef<[u8]> + ?Sized)) -> Result<Self, Error>
Deserialize
Self
from bytes of JSON text.source§fn from_json_value(json: Value) -> Result<Self, Error>
fn from_json_value(json: Value) -> Result<Self, Error>
Deserialize
Self
from a serde_json::Value
.source§impl<T> ToJson for Twhere
T: Serialize,
impl<T> ToJson for Twhere T: Serialize,
source§fn to_json_value(&self) -> Result<Value, Error>
fn to_json_value(&self) -> Result<Value, Error>
Serialize
self
as a serde_json::Value
.