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

Trait InherentBuilder

pub trait InherentBuilder: ExtrinsicCall {
    // Required method
    fn new_inherent(call: Self::Call) -> Self;
}
Expand description

Interface for types capable of constructing an inherent extrinsic.

Required Methods§

fn new_inherent(call: Self::Call) -> Self

Create a new inherent from a given call.

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.

Implementations on Foreign Types§

§

impl<Address, Call, Signature, Extra> InherentBuilder for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: TypeInfo, Call: TypeInfo, Signature: TypeInfo, Extra: TypeInfo,

§

fn new_inherent( call: <UncheckedExtrinsic<Address, Call, Signature, Extra> as ExtrinsicCall>::Call, ) -> UncheckedExtrinsic<Address, Call, Signature, Extra>

Implementors§

impl<Address, Signature, E: EthExtra> InherentBuilder for UncheckedExtrinsic<Address, Signature, E>
where Address: TypeInfo, <E::Config as Config>::RuntimeCall: TypeInfo, Signature: TypeInfo, E::Extension: TypeInfo,