referrerpolicy=no-referrer-when-downgrade

Trait AssetDefinition

pub trait AssetDefinition {
    type Id;
}
Expand description

Trait for defining an asset. The definition must provide the Id type to identify the asset.

Required Associated Types§

type Id

Type for identifying the asset.

Implementors§

impl<T: Config<I>, I: 'static> AssetDefinition for Collection<Pallet<T, I>>

impl<T: Config<I>, I: 'static> AssetDefinition for Item<Pallet<T, I>>