referrerpolicy=no-referrer-when-downgrade

Type Alias sp_runtime::testing::sr25519::Public

pub type Public = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>;
Expand description

An Schnorrkel/Ristretto x25519 (“sr25519”) public key.

Aliased Type§

struct Public(pub [u8; 32], _);

Fields§

§0: [u8; 32]

Trait Implementations§

source§

impl IdentifyAccount for Public

§

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

The account ID that this can be transformed into.
source§

fn into_account(self) -> Self

Transform into an account.
source§

impl TryFrom<MultiSigner> for Public

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(m: MultiSigner) -> Result<Self, Self::Error>

Performs the conversion.