pub struct CredentialProof {
pub proof_type: String,
pub created: DateTime<Utc>,
pub verification_method: String,
pub proof_purpose: String,
pub proof_value: String,
}Expand description
A cryptographic proof attached to a credential.
Fields§
§proof_type: StringThe type of proof (e.g., “Ed25519Signature2020”)
created: DateTime<Utc>When the proof was created
verification_method: StringThe verification method (key ID) used to create the proof
proof_purpose: StringThe purpose of the proof (e.g., “assertionMethod”)
proof_value: StringThe proof value (signature, encoded)
Trait Implementations§
Source§impl Clone for CredentialProof
impl Clone for CredentialProof
Source§fn clone(&self) -> CredentialProof
fn clone(&self) -> CredentialProof
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 CredentialProof
impl Debug for CredentialProof
Source§impl<'de> Deserialize<'de> for CredentialProof
impl<'de> Deserialize<'de> for CredentialProof
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 CredentialProof
impl RefUnwindSafe for CredentialProof
impl Send for CredentialProof
impl Sync for CredentialProof
impl Unpin for CredentialProof
impl UnwindSafe for CredentialProof
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