1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use thor::WalletAlias;

#[derive(Clone, Debug, Deserialize)]
#[serde(untagged)]
pub enum CommitteeTemplate {
    Generated {
        alias: WalletAlias,
        member_pk: Option<String>,
        communication_pk: Option<String>,
    },
    External {
        id: String,
        member_pk: Option<String>,
        communication_pk: Option<String>,
    },
}