Trait frame_support::dispatch::Parameter

source ·
pub trait Parameter: Codec + EncodeLike + Clone + Eq + Debug + TypeInfo { }
Expand description

A type that can be used as a parameter in a dispatchable function.

When using decl_module all arguments for call functions must implement this trait.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Parameter for T
where T: Codec + EncodeLike + Clone + Eq + Debug + TypeInfo,