Trait frame_support::dispatch::HasCompact
source · pub trait HasCompact: Sized {
type Type: for<'a> EncodeAsRef<'a, Self> + Decode + From<Self> + Into<Self>;
}
Expand description
Trait that tells you if a given type can be encoded/decoded in a compact way.