Trait pallet_identity::traits::CheckKeyChangeAllowed

source ·
pub trait CheckKeyChangeAllowed<T: Config> {
    // Required method
    fn check_allowed(account_id: &T::IdtyIndex) -> bool;
}
Expand description

Trait for checking whether a key change is allowed for a given identity.

Required Methods§

source

fn check_allowed(account_id: &T::IdtyIndex) -> bool

Determines if a key change is allowed for the given identity.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Config> CheckKeyChangeAllowed<T> for ()

Implementors§