Trait gclient::ext::sp_runtime::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.

Implementors§

§

impl IdentifyAccount for MultiSigner

§

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

§

type AccountId = 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)>

§

impl IdentifyAccount for UintAuthorityId