Trait sp_membership::traits::OnRemoveMembership
source · pub trait OnRemoveMembership<IdtyId> {
// Required method
fn on_removed(idty_index: &IdtyId) -> Weight;
}
Expand description
A trait defining operations for handling the removal of memberships.
Required Methods§
sourcefn on_removed(idty_index: &IdtyId) -> Weight
fn on_removed(idty_index: &IdtyId) -> Weight
Called when a membership is removed.
Object Safety§
This trait is not object safe.