Enum diem_types::account_config::resources::role::AccountRole
source · pub enum AccountRole {
ParentVASP {
vasp: ParentVASP,
credential: Credential,
vasp_domains: Option<VASPDomains>,
},
ChildVASP(ChildVASP),
DesignatedDealer {
dd_credential: Credential,
preburn_balances: DesignatedDealerPreburns,
designated_dealer: DesignatedDealer,
},
TreasuryCompliance {
vasp_domain_manager: VASPDomainManager,
},
Unknown,
}
Expand description
A enum that captures the collection of role-specific resources stored under each account type
Variants§
ParentVASP
ChildVASP(ChildVASP)
DesignatedDealer
Fields
§
dd_credential: Credential
§
preburn_balances: DesignatedDealerPreburns
§
designated_dealer: DesignatedDealer
TreasuryCompliance
Fields
§
vasp_domain_manager: VASPDomainManager
Unknown
Trait Implementations§
source§impl Debug for AccountRole
impl Debug for AccountRole
source§impl<'de> Deserialize<'de> for AccountRole
impl<'de> Deserialize<'de> for AccountRole
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 RefUnwindSafe for AccountRole
impl Send for AccountRole
impl Sync for AccountRole
impl Unpin for AccountRole
impl UnwindSafe for AccountRole
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.