referrerpolicy=no-referrer-when-downgrade
frame_support::traits::tokens::asset_ops

Trait AssetDefinition

Source
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§

Source

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>>