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.

Implementors§

source§

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