pub struct DocumentProof {
pub type_: String,
pub created: DateTime<Utc>,
pub verification_method: String,
pub proof_value: String,
}Expand description
Proof attached to a DID Document.
Fields§
§type_: StringProof type
created: DateTime<Utc>When the proof was created
verification_method: StringWhich key was used to sign
proof_value: StringThe signature value (base64)
Trait Implementations§
Source§impl Clone for DocumentProof
impl Clone for DocumentProof
Source§fn clone(&self) -> DocumentProof
fn clone(&self) -> DocumentProof
Returns a duplicate 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 Debug for DocumentProof
impl Debug for DocumentProof
Source§impl<'de> Deserialize<'de> for DocumentProof
impl<'de> Deserialize<'de> for DocumentProof
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 DocumentProof
impl RefUnwindSafe for DocumentProof
impl Send for DocumentProof
impl Sync for DocumentProof
impl Unpin for DocumentProof
impl UnwindSafe for DocumentProof
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