pub trait IdentifyAccountWithLookup<Lookup> {
type AccountId;
// Required method
fn get_account_id(
&self,
lookup: &Lookup
) -> Result<Option<Self::AccountId>, LookupError>;
}
Expand description
Provides information about author
Required Associated Types§
Required Methods§
sourcefn get_account_id(
&self,
lookup: &Lookup
) -> Result<Option<Self::AccountId>, LookupError>
fn get_account_id( &self, lookup: &Lookup ) -> Result<Option<Self::AccountId>, LookupError>
performs lookup and returns AccountId if available