Skip to main content

caelum_id/models/
data_structs.rs

1use web3::types::{Address, U256, H256};
2
3#[derive(Debug, Clone)]
4pub struct Key {
5    pub purpose: U256,
6    pub key_type: U256,
7    pub key: H256
8}
9
10#[derive(Debug, Clone)]
11pub struct Claim {
12    pub id: H256,
13    pub topic: U256,
14    pub scheme: U256,
15    pub issuer: Address,
16    pub signature: H256,
17    pub data: H256,
18    pub uri: H256
19}