[][src]Trait sunshine_util::traits::LockableProfile

pub trait LockableProfile<AccountId> {
    fn lock_profile(
        organization: u32,
        share_id: u32,
        who: &AccountId
    ) -> DispatchResult;
fn unlock_profile(
        organization: u32,
        share_id: u32,
        who: &AccountId
    ) -> DispatchResult; }

Lock shares for an individual AccountId

Required methods

fn lock_profile(
    organization: u32,
    share_id: u32,
    who: &AccountId
) -> DispatchResult

fn unlock_profile(
    organization: u32,
    share_id: u32,
    who: &AccountId
) -> DispatchResult

Loading content...

Implementors

Loading content...