[][src]Trait sp_runtime::traits::IdentifyAccount

pub trait IdentifyAccount {
    type AccountId;
    pub fn into_account(self) -> Self::AccountId;
}

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.

Associated Types

type AccountId[src]

The account ID that this can be transformed into.

Loading content...

Required methods

pub fn into_account(self) -> Self::AccountId[src]

Transform into an account.

Loading content...

Implementations on Foreign Types

impl IdentifyAccount for Public[src]

type AccountId = Self

impl IdentifyAccount for Public[src]

type AccountId = Self

Loading content...

Implementors

impl IdentifyAccount for MultiSigner[src]

impl IdentifyAccount for sp_runtime::testing::sr25519::Public[src]

type AccountId = Self

impl IdentifyAccount for UintAuthorityId[src]

type AccountId = u64

Loading content...