Trait common_primitives::msa::MsaLookup
source · pub trait MsaLookup {
type AccountId;
// Required method
fn get_msa_id(key: &Self::AccountId) -> Option<MessageSourceId>;
}
Expand description
A behavior that allows looking up an MSA id
Required Associated Types§
Required Methods§
sourcefn get_msa_id(key: &Self::AccountId) -> Option<MessageSourceId>
fn get_msa_id(key: &Self::AccountId) -> Option<MessageSourceId>
Gets the MSA Id associated with this AccountId
if any
Object Safety§
This trait is not object safe.