referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::IdentifyAccount

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§

type AccountId

The account ID that this can be transformed into.

Required Methods§

fn into_account(self) -> Self::AccountId

Transform into an account.

Implementations on Foreign Types§

§

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

§

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

§

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

§

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

§

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

§

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

Implementors§

§

impl IdentifyAccount for MultiSigner

§

type AccountId = AccountId32

§

impl IdentifyAccount for UintAuthorityId