referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::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.

Object Safety§

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§