referrerpolicy=no-referrer-when-downgrade
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 CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>

§

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

source§

fn into_account( self, ) -> CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>

source§

impl IdentifyAccount for CryptoBytes<sp_core::::ed25519::Public::{constant#0}, (PublicTag, Ed25519Tag)>

§

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

source§

fn into_account( self, ) -> CryptoBytes<sp_core::::ed25519::Public::{constant#0}, (PublicTag, Ed25519Tag)>

Implementors§