did-chain 0.0.0

A chain of Decentralized Identifiers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use did_simple::{methods::key::DidKey, methods::DidDyn};

/// This is like an account UUID, it provides a unique identifier for the
/// account. Changing it is impossible.
#[derive(Debug)]
pub struct DidRoot(DidKey);

#[derive(Debug)]
pub struct DidChain {
	pub root: DidRoot,
	pub chain: Vec<DidDyn>,
}