Trait sp_domains::DomainOwner

source ·
pub trait DomainOwner<AccountId> {
    // Required method
    fn is_domain_owner(domain_id: DomainId, acc: AccountId) -> bool;
}
Expand description

Trait to check domain owner.

Required Methods§

source

fn is_domain_owner(domain_id: DomainId, acc: AccountId) -> bool

Returns true if the account is the domain owner.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<AccountId> DomainOwner<AccountId> for ()

source§

fn is_domain_owner(_domain_id: DomainId, _acc: AccountId) -> bool

Implementors§