pub struct Proof {
pub proof_type: String,
pub created: DateTime<Utc>,
pub verification_method: String,
pub proof_purpose: String,
pub proof_value: String,
}Expand description
A Linked Data proof.
Fields§
§proof_type: StringProof type (e.g., “Ed25519Signature2020”).
created: DateTime<Utc>When the proof was created.
verification_method: StringVerification method (key ID).
proof_purpose: StringProof purpose (e.g., “assertionMethod”).
proof_value: StringSignature value (hex or base58).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proof
impl<'de> Deserialize<'de> for Proof
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 Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnsafeUnpin for Proof
impl UnwindSafe for Proof
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