pub struct SignedJsonLd {
pub document: Value,
pub proof: Proof,
}Expand description
A signed JSON-LD document.
Fields§
§document: ValueThe original document content.
proof: ProofThe proof (signature) node.
Trait Implementations§
Source§impl Clone for SignedJsonLd
impl Clone for SignedJsonLd
Source§fn clone(&self) -> SignedJsonLd
fn clone(&self) -> SignedJsonLd
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 SignedJsonLd
impl Debug for SignedJsonLd
Source§impl<'de> Deserialize<'de> for SignedJsonLd
impl<'de> Deserialize<'de> for SignedJsonLd
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
Auto Trait Implementations§
impl Freeze for SignedJsonLd
impl RefUnwindSafe for SignedJsonLd
impl Send for SignedJsonLd
impl Sync for SignedJsonLd
impl Unpin for SignedJsonLd
impl UnsafeUnpin for SignedJsonLd
impl UnwindSafe for SignedJsonLd
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