referrerpolicy=no-referrer-when-downgrade

Trait sp_runtime::traits::AsSystemOriginSigner

source ·
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.

Implementors§