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§

source

fn on_created(idty_index: &IdtyId)

Called when a new membership is created.

source

fn on_renewed(idty_index: &IdtyId)

Called when a membership is renewed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<IdtyId> OnNewMembership<IdtyId> for ()

source§

fn on_created(_idty_index: &IdtyId)

source§

fn on_renewed(_idty_index: &IdtyId)

Implementors§