Trait sp_membership::traits::OnNewMembership
source · pub trait OnNewMembership<IdtyId> {
// Required methods
fn on_created(idty_index: &IdtyId);
fn on_renewed(idty_index: &IdtyId);
}
Expand description
A trait defining behavior for handling new memberships and membership renewals.
Required Methods§
sourcefn on_created(idty_index: &IdtyId)
fn on_created(idty_index: &IdtyId)
Called when a new membership is created.
sourcefn on_renewed(idty_index: &IdtyId)
fn on_renewed(idty_index: &IdtyId)
Called when a membership is renewed.
Object Safety§
This trait is not object safe.