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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.