referrerpolicy=no-referrer-when-downgrade
pub trait AsSystemOriginSigner<AccountId> {
    // Required method
    fn as_system_origin_signer(&self) -> Option<&AccountId>;
}
Expand description

Runtime Origin which includes a System Origin variant whose AccountId is the parameter.

Required Methods§

source

fn as_system_origin_signer(&self) -> Option<&AccountId>

Extract a reference of the inner value of the System Origin::Signed variant, if self has that variant.

Implementations on Foreign Types§

source§

impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin

source§

impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin

source§

impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin

§

impl AsSystemOriginSigner<<Runtime as Config>::AccountId> for RuntimeOrigin

§

fn as_system_origin_signer(&self) -> Option<&<Runtime as Config>::AccountId>

Implementors§