referrerpolicy=no-referrer-when-downgrade

Trait sp_runtime::traits::IdentifyAccount

source ·
pub trait IdentifyAccount {
    type AccountId;

    // Required method
    fn into_account(self) -> Self::AccountId;
}
Expand description

Some type that is able to be collapsed into an account ID. It is not possible to recreate the original value from the account ID.

Required Associated Types§

source

type AccountId

The account ID that this can be transformed into.

Required Methods§

source

fn into_account(self) -> Self::AccountId

Transform into an account.

Implementations on Foreign Types§

source§

impl IdentifyAccount for Public

§

type AccountId = CryptoBytes<sp_core::::ed25519::Public::{constant#0}, (PublicTag, Ed25519Tag)>

source§

fn into_account(self) -> Self

source§

impl IdentifyAccount for Public

§

type AccountId = CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>

source§

fn into_account(self) -> Self

Implementors§

source§

impl IdentifyAccount for MultiSigner

source§

impl IdentifyAccount for UintAuthorityId

source§

impl IdentifyAccount for sp_runtime::testing::sr25519::Public

§

type AccountId = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>