Trait duniter_primitives::Idty
source · pub trait Idty<IdtyIndex, AccountId> {
// Required methods
fn owner_key(index: IdtyIndex) -> Option<AccountId>;
fn idty_index(owner_key: AccountId) -> Option<IdtyIndex>;
}
Expand description
trait used to go from index to owner key and reverse
Required Methods§
fn owner_key(index: IdtyIndex) -> Option<AccountId>
fn idty_index(owner_key: AccountId) -> Option<IdtyIndex>
Object Safety§
This trait is not object safe.