pub struct DidMessageReference {
pub id: String,
pub digest: String,
}Expand description
Stable reference to a DID message envelope.
Fields§
§id: StringReferenced DID message id.
digest: StringSHA-256 digest of the referenced signed envelope.
Trait Implementations§
Source§impl Clone for DidMessageReference
impl Clone for DidMessageReference
Source§fn clone(&self) -> DidMessageReference
fn clone(&self) -> DidMessageReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DidMessageReference
impl Debug for DidMessageReference
Source§impl<'de> Deserialize<'de> for DidMessageReference
impl<'de> Deserialize<'de> for DidMessageReference
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
impl Eq for DidMessageReference
Source§impl PartialEq for DidMessageReference
impl PartialEq for DidMessageReference
Source§fn eq(&self, other: &DidMessageReference) -> bool
fn eq(&self, other: &DidMessageReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DidMessageReference
impl Serialize for DidMessageReference
impl StructuralPartialEq for DidMessageReference
Auto Trait Implementations§
impl Freeze for DidMessageReference
impl RefUnwindSafe for DidMessageReference
impl Send for DidMessageReference
impl Sync for DidMessageReference
impl Unpin for DidMessageReference
impl UnsafeUnpin for DidMessageReference
impl UnwindSafe for DidMessageReference
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