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§
sourcefn is_domain_owner(domain_id: DomainId, acc: AccountId) -> bool
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.