Trait pallet_identity::traits::OnNewIdty
source · pub trait OnNewIdty<T: Config> {
// Required method
fn on_created(idty_index: &T::IdtyIndex, creator: &T::IdtyIndex);
}
Expand description
A trait defining behavior for handling new identities creation.
Required Methods§
sourcefn on_created(idty_index: &T::IdtyIndex, creator: &T::IdtyIndex)
fn on_created(idty_index: &T::IdtyIndex, creator: &T::IdtyIndex)
Called when a new identity is created.
Object Safety§
This trait is not object safe.