Trait pallet_identity::traits::LinkIdty
source · pub trait LinkIdty<AccountId, IdtyIndex> {
// Required method
fn link_identity(
account_id: &AccountId,
idty_index: IdtyIndex
) -> Result<(), DispatchError>;
}
Expand description
Trait defining operations for linking identities to accounts.
Required Methods§
sourcefn link_identity(
account_id: &AccountId,
idty_index: IdtyIndex
) -> Result<(), DispatchError>
fn link_identity( account_id: &AccountId, idty_index: IdtyIndex ) -> Result<(), DispatchError>
Links an identity to an account.
Object Safety§
This trait is not object safe.