trustchain-http 0.1.0

HTTP Trustchain library and application.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Types for store items.
use serde::{Deserialize, Serialize};
use ssi::vc::Credential;

/// Credential store item.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CredentialStoreItem {
    #[serde(rename = "did")]
    pub issuer_did: String,
    pub credential: Credential,
}