referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::traits

Trait IsInherent

pub trait IsInherent<Extrinsic> {
    // Required method
    fn is_inherent(ext: &Extrinsic) -> bool;
}
Expand description

A trait to check if an extrinsic is an inherent.

Required Methods§

fn is_inherent(ext: &Extrinsic) -> bool

Whether this extrinsic is an inherent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Test as Config>::Block as Block>::Extrinsic> for Test

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Test as Config>::Block as Block>::Extrinsic> for Test

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime

impl IsInherent<<<Runtime as Config>::Block as Block>::Extrinsic> for Runtime